Page History
...
- If the
first
and/orlast
event numbers are defined, then the filter will select events in this range only. If the
evtstring
is defined, only listed events of event ranges will be selected. For example, theevtstring
parameter can be defined asCode Block bgColor #F7F7ED 2,5,11-15,20-25,29,30
that means the list of events:
Code Block bgColor #F7F7ED 2 5 11 12 13 14 15 20 21 22 23 24 25 29 30
In the
evtstring
parameter the comma "," and sign minus "-" as a dash are the only allowed separators. Blank spaces are also allowed. Other characters may abort the program. Theevtstring
mode has higher priority than the 1st mode.
ThefilterIsOn
allows easy turn on/off this filter in*.cfg
file.
Module ImgAlgos::EventCounterFilter
ImgAlgos::EventCounterFilter (ImgAlgos > V00-03-46) module is created by request of Thomas Kroll for experiment with mobile rack in SACLA .
Functionality:
Input from file ifname
the list of integer event numbers in ascending order separated by space or '\n'. If current event number counted by the local counter started from 1 and incremented in the event(...) method is equal to one of the event numbers in the file, then event is passed for further processing, otherwise discarded.
parameter | default value | description |
---|---|---|
| 1 | filter mode: 0-off, 1-on, -1-on in inverted decision mode |
| input file name, is empty by default | |
| 0 | verbosity:
|
Input file (ifname
)consists of integer numbers in ascending order separated by space or '\n', for example:
Code Block |
---|
2 3 6 7 9 11 15
17 28 32 ... |
Module ImgAlgos::AndorImageProducer
Functionality:
...
- NDArrCalib uses the
source
andkey_in
parameters to get anyndarray<
object from the event store, whereconst
T,NDIM>T
stands for
orint16_t,
uint16_t, int, float, uint8_t,double, 1≤NDim≤5
, - automaticly gets parameters from calibration store for types
pedestals, common_mode, pixel_status, pixel_gain,
andpixel_rms,
- gets parameters from user-defined files
fname_bkgd
andfname_mask
, if their names are specified, the specified by the
do_...
parameter corrections are applied to raw datandarray<
as follows:const
T,NDIM>
...
- ImgCalib uses the
source
andkey_in
parameters to get the input raw image (asndarray<
object), where T stands for int16_t(from V00-03-46), uint16_t, int, float, uint8_t, or double,const
T,2> - gets the calibration parameters from files
fname_peds
,fname_bkgd
,fname_gain
,fname_mask
, andfname_rms
, if their names are specified, the specified by the file name corrections are applied per-pixel to raw data image as follows:
Code Block bgColor #F7F7ED A_cor = A_raw (1) - pedestal | if the file name is specified in the parameter "fname_peds" (2) - N*background | if the file name is specified in the parameter "fname_bkgd" (3) * gain | if the file name is specified in the parameter "fname_gain" (4) apply mask | if the file name is specified in the parameter "fname_mask" (5) apply N*RMS threshold | if the file name is specified in the parameter "fname_nrms" (6) apply threshold | if the "do_threshold" = true
- corrected image is saved in the event with key
key_out
asdouble
type.
...