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

Compare with Current View Page History

Version 1 Next »

Content

Comparison of psana, cheetah and cctbx

Comments

Comments from Chuck
Chun Hong Yoon <yoon82@stanford.edu>   
Wed 11/22/2017 3:33 PM
To:   Dubrovin, Mikhail;  
   Monarin Uervirojnangkoorn <monarin@stanford.edu>;  
Cc:   O'Grady, Paul Christopher;

Hi Mikhail and Mona,
Shall we try to compare cxic0415 run84? This is a dark run.
Run85 is a light run.
Cheetah bad pixelmap is here.
/reg/d/psdm/cxi/cxic0415/res/cheetah/hdf5/r0101-se_84_new/badpixelmap.h5
Best,
Chuck
Comments from Mona
Monarin Uervirojnangkoorn <monarin@stanford.edu>
Wed 11/22/2017 6:29 PM
Hi Mikhail,

Here is the mask for bad pixels generated from cctbx.
/reg/d/psdm/cxi/cxid9114/scratch/mona/s1/discovery/mask_cxic0415.txt
The 0’s are the bad pixel. I used r86 as Dark run and r100 as light run.
I hope my understanding of their 64 x 185 x 194 format is correct. I also sent an email to Aaron. I’ll let you know again if the format is not right.
Cheers & Happy Thanksgiving!
Mona

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

BitBit meaningRun 84 calibmanRun 84 (dark)Run 85 (light)
1hot rms192500
2satturated333434
4cold97510001012
8cold rms151310471039
16average above limit62600
32average below limit11881008979
64max above limit03276266
128min below limit010131124

 

Mask pixel statistics

  • cxic0415-r0084
  • get rid of "geometry mask" pixels
  • total number of cspad pixels 2296960 = 32*185*388
filezerosones 
cctbx36382293322 
cheetah21872294773 
calibman33912293569 
data (r84)10302295930 
    

 

Comparison of masked pixels

file1file2coinsideonly in 1only in 2
cctbxcheetah12432395944
cctbxdark215214861239
cheetahdark116210252229
darkdata103023610
...    

Plots for comparison

cctbx-cheetah, cctbx-dark, cheetah-dark, dark-data

 

References

 

 

 

 

 

 

  • No labels