Page History
...
Sequence of modules for raw image averaging
- ImgAlgos.PnccdImageProducer - get Psana::PNCCD::FullFrameV1, put ndarray<
const
uint16_t, 2> - ImgAlgos.NDArrAverage - averages ndarray<
const
T, 2>, save in file
Sequence of modules for calibrated image or ndarray averaging
- ImgAlgos.PnccdNDArrProducer - get Psana::PNCCD::
FramesV1
, put ndarray<const
T, 3>
...
- ImgAlgos.NDArrCalib - getinput (raw) ndarray<
const
T, Ndim>, put calibrated ndarray<const
T, Ndim> - ImgAlgos.PnccdImageProducer - get ndarray<
const
T,3>, put ndarray<const
T, 2> - ImgAlgos.NDArrAverage - averages ndarray<
const
T, 2> or ndarray<const
T,3>, save in file
...
Common mode correction in pnCCD ndarray
pnCCD image has intensity "strips" in both dimensions;
...
This proves that common mode should be evaluated for horizontal stripes.
Due to specifics of pnCCD DAQ readout, it is recommended to evaluate common mode for consecutive groups of 128 pixel in the [4][512][512] array
.
Data corrections in module ImgAlgos.NDArrCalib
Midule Module description: Module ImgAlgos::NDArrCalib
List of parameters in configuration file
Code Block |
---|
[ImgAlgos.NDArrCalib] source = DetInfo(Camp.0:pnCCD.0) key_in = pnccd-ndarr key_out = calibrated do_peds = yes do_cmod = no do_stat = no do_mask = no do_bkgd = no do_gain = no do_nrms = no do_thre = yes fname_bkgd = fname_mask = masked_value = 0 threshold_nrms = 0 threshold = 100.0 below_thre_value = 50 bkgd_ind_min = 0 bkgd_ind_max = 1000 bkgd_ind_inc = 2 print_bits = 11 |
2014-02-10 Test of the module ImgAlgos.NDArrCalib
Dark run: exp=amoa1214:run=7, all plots are shown for Camp.0:pnCCD.0
event 5
...
Set bad pixels (1) in the half of frame[1]:
Mask
Region of interest (ROI) mask can be generated by the Mask Editor.
do_mask = yes
fname_mask = pnccd-test-mask.txt
...
Overview
Content Tools