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

Compare with Current View Page History

« Previous Version 9 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,
11, and 12 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

Philip'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]

Pedestal subtracted events  for runs 18, 22 from Philip: 

 

Correction

det.calib method is used to get Jungfrau calibrated data. Implementation in Detector/UtilsJungfrau.py

Apply pedestals' correction to the same data which were used for calibration of cxi11216, run 9,11,12, use "working" part of the segment:

    img.shape = (512,1024)

    img = img[:512,:]

Run 9, gain 0

  • raw:
  • calib:
  • common mode corrections in half-rows and columns for gain0 pixel as mask:
           
            

Run 11, gain 2

  • raw:
  • calib:

Run 12, gain 1

  • raw:
  • calib:


Geometry

Basic segment geometry is implemented in PSCalib.SegGeometryJungfrauV1.py

mask of edges:

Detector interface

Examples

  • Detector/examples/ex_jungfrau_det.py
  • Detector/examples/ex_jungfrau_raw_plot.py
  • Detector/examples/ex_jungfrau_ipython.py
  • PSCalib/src/SegGeometryStore.py 5
  • PSCalib/src/SegGeometryJungfrauV1.py [0,...6]

Data type and shape

  • raw data:  shape:(1, 512, 1024)  size:524288  dtype:uint16
  • calib data:  shape:(1, 512, 1024)  size:524288  dtype:float32
  • mask:  shape:(1, 512, 1024)  size:524288  dtype:uint8
  • status_as_mask:  shape:(1, 512, 1024)  size:524288  dtype:uint8
  • mask_geo:  shape:(1, 512, 1024)  size:524288  dtype:uint8
  • mask_calib:  shape:(1, 512, 1024)  size:524288  dtype:uint8


  • pedestals:  shape:(3, 1, 512, 1024)  size:1572864  dtype:float32
  • rms:  shape:(3, 1, 512, 1024)  size:1572864  dtype:float32
  • gain:  shape:(3, 1, 512, 1024)  size:1572864  dtype:float32
  • offset:  shape:(3, 1, 512, 1024)  size:1572864  dtype:float32
  • datast:  shape:(3, 1, 512, 1024)  size:1572864  dtype:uint16
  • status:  shape:(3, 1, 512, 1024)  size:1572864  dtype:uint16
  • coords_x:  shape:(1, 512, 1024)  size:524288  dtype:float64
  • coords_y:  shape:(1, 512, 1024)  size:524288  dtype:float64
  • area:  shape:(1, 512, 1024)  size:524288  dtype:float64
  • image (calibrated data or raw):  shape:(514, 1030)  size:529420  dtype:float32
  • image_xaxis:  shape:(514,)  size:514  dtype:float64
  • image_yaxis:  shape:(1030,)  size:1030  dtype:float64
  • common_mod:  shape:(16,)  size:16  dtype:float64 [   7.    1.  100.    0.    0.]


  • No labels