Content
Comparison of psana, cheetah and cctbx
Comments
Files
Compare cxic0415 run 84 - dark, 85 - light
- Cheetah bad pixelmap, shape=(8*185,4*388):
/reg/d/psdm/cxi/cxic0415/res/cheetah/hdf5/r0101-se_84_new/badpixelmap.h5
extracted with get-mask-cheetah-h5.py
has ~50K edge and central pixel masked
extracted by get-mask-cheetah-h5.py cctbx, shape=(64,185,194)
/reg/d/psdm/cxi/cxid9114/scratch/mona/s1/discovery/mask_cxic0415.txt
includes bound pixels
extracted by get-mask-cctbx-txt.py
psana pixel_status
- /reg/g/psdm/logs/run_proc/pixel_status/CXI/cxic0415/work/nda-cxic0415-r0084-CxiDs1.0:Cspad.0-e001514-sta.txt
- /reg/g/psdm/logs/run_proc/pixel_status/CXI/cxic0415/work/nda-cxic0415-r0085-CxiDs1.0:Cspad.0-e157676-sta.txt
- mask is generated by get-mask-from-status.py
psana calibman for dark
- work/clb-cxic0415-r0084-peds-sta-CxiDs1.0:Cspad.0.txt
- work/clb-cxic0415-r0084-peds-msk-CxiDs1.0:Cspad.0.txt
psana pixel_status bits
Bits assignment and statistics in calibman and det_ndarr_data_status for cxic0415 run84,85
Bit | Bit meaning | Run 84 calibman | Run 84 (dark) | Run 85 (light) |
---|---|---|---|---|
1 | hot rms | 1925 | 0 | 0 |
2 | satturated | 33 | 34 | 34 |
4 | cold | 975 | 1000 | 1012 |
8 | cold rms | 1513 | 1047 | 1039 |
16 | average above limit | 626 | 0 | 0 |
32 | average below limit | 1188 | 1008 | 979 |
64 | max above limit | 0 | 327 | 6266 |
128 | min below limit | 0 | 1013 | 1124 |
Mask pixel statistics
- cxic0415-r0084
- get rid of "geometry mask" pixels
- total number of cspad pixels 2296960 = 32*185*388
file | zeros | ones | |
---|---|---|---|
cctbx | 3638 | 2293322 | |
cheetah | 2187 | 2294773 | |
calibman | 3391 | 2293569 | |
data (r84) | 1030 | 2295930 | |
Comparison of masked pixels
file1 | file2 | coinside | only in 1 | only in 2 |
---|---|---|---|---|
cctbx | cheetah | 1243 | 2395 | 944 |
cctbx | dark | 2152 | 1486 | 1239 |
cheetah | dark | 1162 | 1025 | 2229 |
dark | data | 1030 | 2361 | 0 |
... |
Plots for comparison
cctbx-cheetah, cctbx-dark, cheetah-dark, dark-data
New plots
References
Overview
Content Tools