<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Good evening,<br>
    <br>
    I've separated out the number of counts per x bin (and the
    associated Azz statistical uncertainty) based on which x bin the
    counts are getting moved into. The file is attached.<br>
    <br>
    In the process of pulling these out, I did find a few problems with
    the rebinning section of the code. Serendipity was with us, though,
    as there were three things wrong which all mostly canceled each
    other out. With the fixed code, the highest x bin doesn't change
    much at all, and the two center ones get slightly smaller, and the
    lowest x bin gets slightly larger. Details can be found here:
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <a href="https://hallcweb.jlab.org/wiki/index.php/Elong-13-05-31-b">https://hallcweb.jlab.org/wiki/index.php/Elong-13-05-31-b</a><br>
    <br>
    This doesn't affect the rates or counts before rebinning. If you
    want to compare the fixed re-binned statistics to the uncertainties
    of each spectrometer setting, you can see the plots I showed
    earlier, the main one being
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <a
href="https://hallcweb.jlab.org/wiki/images/e/ee/2013-05-31-spec-errors.png">https://hallcweb.jlab.org/wiki/images/e/ee/2013-05-31-spec-errors.png</a><br>
    <br>
    Take care,<br>
    Ellie<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    On Fri 31 May 2013 02:03:16 PM EDT, O. A. Rondon wrote:<br>
    <blockquote type="cite"><br>
      Hi Elena,<br>
      <br>
      This is an important clarification. Since the data for each x
      point are<br>
      taken at different times, we would have statistics for each x
      point<br>
      taken at different SHMS kinematics, covering different regions of
      the bin.<br>
      <br>
      It would be very good to have a table of the statistics for each
      point<br>
      indicating the contributions of the central and neighboring SHMS<br>
      settings to each x bin.<br>
      <br>
      Basically, each point would be a combination of data taken at the<br>
      central setting, with corresponding systematics, plus data taken
      at<br>
      adjacent kinematics, with their separate systematics. This seems
      OK<br>
      since the points seem to have good overlap in Q^2, according to
      the Q^2<br>
      vs x plot. Showing the x bin edges on that plot would help to
      visualize<br>
      the recombination.<br>
      <br>
      In any case, aside from the optimization, it's important to modify
      the<br>
      drift error bands to approximately reflect the multiple cycles per
      bin.<br>
      For example, for the nominal proposed run plan, most of the data
      of the<br>
      lowest x bin will be taken over 6 cycles, but some over the 9
      cycles of<br>
      the next higher x bin. A safe estimate of the drift errors for
      that<br>
      point would be the error per cycle/sqrt(6 cycles), and similarly
      for the<br>
      other points.<br>
      <br>
      Cheers,<br>
      <br>
      Oscar<br>
      <br>
      Long, Elena wrote:<br>
      <blockquote type="cite"><br>
        Good morning,<br>
        <br>
        I made some edits to the optimizer file to tease out each
        individual spectrometer setting's uncertainty (instead of the
        recombined statistical uncertainties used in Oscar's file).
        Details and a link to the updated file can be found here:
        <a class="moz-txt-link-freetext" href="https://hallcweb.jlab.org/wiki/index.php/Elong-13-05-31">https://hallcweb.jlab.org/wiki/index.php/Elong-13-05-31</a><br>
        <br>
        Take care,<br>
        Ellie<br>
        <br>
        <br>
        Elena Long, Ph.D.<br>
        Post Doctoral Research Associate<br>
        University of New Hampshire<br>
        <a class="moz-txt-link-abbreviated" href="mailto:elena.long@unh.edu">elena.long@unh.edu</a><a class="moz-txt-link-rfc2396E" href="mailto:elena.long@unh.edu">&lt;mailto:elena.long@unh.edu&gt;</a><br>
        <a class="moz-txt-link-abbreviated" href="mailto:ellie@jlab.org">ellie@jlab.org</a><a class="moz-txt-link-rfc2396E" href="mailto:ellie@jlab.org">&lt;mailto:ellie@jlab.org&gt;</a><br>
        (603) 862-1962<br>
        <a class="moz-txt-link-freetext" href="http://nuclear.unh.edu/~elong">http://nuclear.unh.edu/~elong</a><br>
        <br>
        On 05/31/2013 12:30 AM, O. A. Rondon wrote:<br>
        <br>
        Here is a first try at an optimizer. It's clear that since the
        times at<br>
        each point are different, the number of cycles is not the same
        for all<br>
        points. Also, there are only three independent points, since the
        HMS<br>
        data is collected in parallel.<br>
        <br>
        The initial observation is that the errors for the low x point
        improves<br>
        with more shorter cycles, but the high x points get worse. The
        optimum<br>
        is probably a combination of shorter cycles at low x, and 20 h
        cycles at<br>
        high x. The HMS data would also benefit from this scheme.<br>
        <br>
        The table of overhead times in the proposal is somewhat
        different to the<br>
        spreadsheet. There may be an issue with the proposal numbers, or
        I may<br>
        be missing a detail somewhere in the spreadsheet. In any case,
        the basic<br>
        run plan of 1 cycle/day according to the spreadsheet indicates a<br>
        somewhat shorter overhead time than the proposal.<br>
        <br>
        The spreadsheet and a pdf snapshot are here. To use the
        spreadsheet,<br>
        change the number of cycles per day in cell B17, and the number
        of<br>
        anneals per cycle pair in cell D7. To highlight the cells with<br>
        calculated values (formulas) and those with constants, press
        ctrl-F8.<br>
        <a class="moz-txt-link-freetext" href="http://twist.phys.virginia.edu/~or/b1/optimizer.ods">http://twist.phys.virginia.edu/~or/b1/optimizer.ods</a><br>
        <a class="moz-txt-link-freetext" href="http://twist.phys.virginia.edu/~or/b1/optimize.pdf">http://twist.phys.virginia.edu/~or/b1/optimize.pdf</a><br>
        <br>
        Feel free to modify the worksheet.<br>
        <br>
        Cheers,<br>
        <br>
        Oscar<br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        _______________________________________________<br>
        b1_ana mailing list<br>
        <a class="moz-txt-link-abbreviated" href="mailto:b1_ana@jlab.org">b1_ana@jlab.org</a><a class="moz-txt-link-rfc2396E" href="mailto:b1_ana@jlab.org">&lt;mailto:b1_ana@jlab.org&gt;</a><br>
        <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/b1_ana">https://mailman.jlab.org/mailman/listinfo/b1_ana</a><br>
        <br>
        <br>
        <br>
        <br>
        <br>
------------------------------------------------------------------------<br>
        <br>
        _______________________________________________<br>
        b1_ana mailing list<br>
        <a class="moz-txt-link-abbreviated" href="mailto:b1_ana@jlab.org">b1_ana@jlab.org</a><br>
        <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/b1_ana">https://mailman.jlab.org/mailman/listinfo/b1_ana</a><br>
      </blockquote>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      _______________________________________________<br>
      b1_ana mailing list<br>
      <a class="moz-txt-link-abbreviated" href="mailto:b1_ana@jlab.org">b1_ana@jlab.org</a><br>
      <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/b1_ana">https://mailman.jlab.org/mailman/listinfo/b1_ana</a><br>
      <pre class="moz-signature" cols="72">-- 
Elena Long, Ph.D.
Post Doctoral Research Associate
University of New Hampshire
<a class="moz-txt-link-abbreviated" href="mailto:elena.long@unh.edu">elena.long@unh.edu</a>
<a class="moz-txt-link-abbreviated" href="mailto:ellie@jlab.org">ellie@jlab.org</a>
<a class="moz-txt-link-freetext" href="http://nuclear.unh.edu/~elong">http://nuclear.unh.edu/~elong</a>
(603) 862-1962</pre>
    </blockquote>
  </body>
</html>