Page History
...
exp=mfxc00118:run=191:smd
epix10k2M
/reg/d/psdm/mfx/mfxc00118/calib
gain mode is FL, as seen in datinfo.
Code Block | ||||
---|---|---|---|---|
| ||||
datinfo -e mfxc00118 -d epix10k2M -r191 [I] L0210: command: /cds/home/d/dubrovin/LCLS/con-py2/arch/x86_64-rhel7-gcc48-opt/bin/datinfo -e mfxc00118 -d epix10k2M -r191 [I] L0211: **kwargs runs: 191 dssuffix: :smd detname: epix10k2M evtkeys: 2 stskip: 0 expname: mfxc00118 steps: 1000 evskip: 0 stepnum: None logmode: INFO events: 1000000 [I] L0040: dsname: exp=mfxc00118:run=191:smd [I] L0041: detname: epix10k2M [I] L0114: runnum: 191 [I] L0115: info_det: info_det det.src: Source("DetInfo(MfxEndstation.0:Epix10ka2M.0)") dettype: 32 calibration constants for par(run or evt): 191 pedestals shape:(7, 16, 352, 384) size:15138816 dtype:float32 [3497.452 3462.729 3479.892 3555.06 3379.326...] rms shape:(7, 16, 352, 384) size:15138816 dtype:float32 [6.935 7.433 7.335 7.416 7.097...] status shape:(7, 16, 352, 384) size:15138816 dtype:uint16 [0 0 0 0 0...] common_mode shape:(16,) size:16 dtype:float64 [ 7. 2. 10. 10. 0....] pixel X shape:(1, 16, 352, 384) size:2162688 dtype:float64 [-42873.23141788 -42773.25839541 -42673.28537293 -42573.31235046 -42473.33932799...] pixel Y shape:(1, 16, 352, 384) size:2162688 dtype:float64 [-41529.65240873 -41528.50952055 -41527.36663237 -41526.22374418 -41525.080856 ...] pixel Z shape:(1, 16, 352, 384) size:2162688 dtype:float64 [-175852.28919395 -175854.31121874 -175856.33324353 -175858.35526833 -175860.37729312...] [I] L0116: calibDir: /reg/d/psdm/mfx/mfxc00118/calib [I] L0117: dettype: 32 [I] L0118: dettype of EPIX10KA2M: 32 ==== run 0191 ==== ==== istep 0 ControlData.pvLabels: evt.keys: EventKey(type=psana.EvrData.DataV4, src='DetInfo(NoDetector.0:Evr.0)', alias='evr0') EventKey(type=psana.Epix.ArrayV1, src='DetInfo(MfxEndstation.0:Epix10ka2M.0)', alias='epix10k2M') EventKey(type=psana.Bld.BldDataEBeamV7, src='BldInfo(EBeam)') EventKey(type=psana.Bld.BldDataFEEGasDetEnergyV1, src='BldInfo(FEEGasDetEnergy)') EventKey(type=psana.Bld.BldDataBeamMonitorV1, src='BldInfo(MFX-DG1-BMMON)') EventKey(type=psana.Bld.BldDataBeamMonitorV1, src='BldInfo(MFX-DG2-BMMON)') EventKey(type=psana.EventOffset) EventKey(type=psana.EventId) EventKey(type=None) EventKey(type=psana.DgramList) ievt: 0000 pixel gain mode fractions for ranges FH FM FL AHL-H AML-M AHL-L AML-L 1.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000 ievt: 0000 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3632 3496 3644 3543 3374...] evt.keys: EventKey(type=psana.EvrData.DataV4, src='DetInfo(NoDetector.0:Evr.0)', alias='evr0') EventKey(type=psana.Epix.ArrayV1, src='DetInfo(MfxEndstation.0:Epix10ka2M.0)', alias='epix10k2M') EventKey(type=psana.Bld.BldDataEBeamV7, src='BldInfo(EBeam)') EventKey(type=psana.Bld.BldDataFEEGasDetEnergyV1, src='BldInfo(FEEGasDetEnergy)') EventKey(type=psana.Bld.BldDataBeamMonitorV1, src='BldInfo(MFX-DG1-BMMON)') EventKey(type=psana.Bld.BldDataBeamMonitorV1, src='BldInfo(MFX-DG2-BMMON)') EventKey(type=psana.EventOffset) EventKey(type=psana.EventId) EventKey(type=None) EventKey(type=psana.DgramList) ievt: 0001 pixel gain mode fractions for ranges FH FM FL AHL-H AML-M AHL-L AML-L 1.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000 ievt: 0100 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3507 3458 3474 3722 3377...] ievt: 0200 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3498 3493 3494 3543 3386...] ievt: 0300 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3483 3454 3461 3722 3382...] ievt: 0400 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3513 3662 3487 3829 3376...] ievt: 0500 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3667 3445 3479 3551 3378...] ... ievt: 6700 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3500 3655 3477 3555 3374...] ievt: 6800 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3575 3653 3492 3543 3378...] ievt: 6900 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3502 3468 3472 3551 3375...] ievt: 6999 raw shape:(16, 352, 384) size:2162688 dtype:uint16 [3490 3465 3484 3547 3376...] ==== Summary run:0191 step:(events total, good): 0: (7000, 7000) [I] L0215: DONE, consumed time 184.117 sec End of datinfo |
...
Detector/app/epix10ka_calib_components -e mfxc00118 -d epix10k2M -r191 -N3 -t102 -S
parser.parse_args: Namespace(amax=None, amin=None, cframe=0, detname='epix10k2M', events=3, evskip=0, expname='mfxc00118', grindex=None, loglev='INFO', run=191, saveimg=True, segindex=None, stepnum=None, tname='102')
...
iv calibrows-mfxc00118-r0191-epix10k2M-rms.npy
Raw - Peds
...
raw - pedestals vs calibrow
Images before and after standard common mode correction
Detector/app/epix10ka_calib_components -t7 -S
- raw data with subtracted pedestals.
...
Detector/app/epix10ka_calib_components -t9 --amin -2 --amax 2 -S # det.calib(evt, cmpars=(7,7,10,10))
Two plots abve show that common mode effect is seen and can be eliminated with standard algorithm for common mode correction. This algorithm does not work well in the central part of the detector where more than 50% of pixels have signal.
Segment 0-3 images with calibration rows
Raw data with subtracted pedestals for segments 0-3. Calibration rows show the difference between event calibrow and its average over 1000 events of the same run.
Detector/app/epix10ka_calib_components -t103 -i0 -S
Detector/app/epix10ka_calib_components -t103 -i1 -S
Detector/app/epix10ka_calib_components -t103 -i2 -S
Detector/app/epix10ka_calib_components -t103 -i3 -S
Scatter plots for segment 1 top and bottom half
Scatter plots show correlation between calibrow and segment row pixel intensities.
- epix10ka_calib_components -t103 -i1 --icrow 0 -S # left plot is a superposition of segment rows 0:176 vs calibrow 0
- epix10ka_calib_components -t103 -i1 --icrow 1 -S # right plot is a superposition of segment rows 176:352 vs calibrow 1
- No correlation observed
- Swapping of rows 0,1 between panel halves (to check possible mapping issue) does not work either.
Conclusion
- data sample shows common mode effect, which can be handled by standard cm correction, except overpopulated central region.
- in
Conclusion
- In raw - pedestal type of images calibration rows do not reproduce common behavior in ASIC's.
- quad 4 0 looks quite good - does not show significant difference between banks - hard to judge about calib-rows mapping.calibrows mapping, it might be wrong mapping yet.
- scatter plots do not show correlation
- Q: configuration parameters of calibrows - gain mode, what exactly do they show?
References
...