You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Content

Informatin

Test runs

3/6/2017 Philip: The data is in cxi11216.  There is one tile.  I appear to be using runs 9,
12, and 13 as pedestals for gain 0, 1, 2.  Runs 18-22 have some data,
which is highly non-optimal; we have better stuff but in a painful format.

 First look at 1-st event of exp=cxi11216:run=40

Phipip's code in /reg/neh/home/philiph/psana/jungfrau/singleModule/makeTuple.py (copy on 2017-05-10)

Pedestal subtraction by Philip
    g0cut = 1<<14
    g1cut = 2<<14
    g2cut = 3<<14

         fG0 = frame<g0cut
         fG1 = (frame>=g0cut) & (frame<g1cut)
         fG2 = frame>=g2cut
         fGval = fG0*1 + fG1*2 + fG2*3

         frame = (frame&0x3fff).astype('int')
         frame[fG0] = frame[fG0] - ped0[fG0]
         frame[fG1] = ped1[fG1] - frame[fG1]
         frame[fG2] = ped2[fG2] - frame[fG2]

 

 

  • No labels