Page History
...
typeGroupName
(default: "CsPad::CalibV1") – calibration type and group names,source
(default: "CxiDs1.0:Cspad.0") – source of data,key
(default: "") – key for data processing stage,imgkey
(default: "Image2D") – output key for image saved in event,events
(default: 1<<31U) – number of events before stop a job,tiltIsApplied
(default: true) – on/off for tilt angle of 2x1-sections and quads.print_bits
(default: 0) – verbosity:- =0 - print nothing,
- +1
- - calib pars,
- +2
- - consumed time
- per event.
Remarks:
- By default the
key
corresponds to raw data. - If the
imgkey
is defined as "Image2D", the image is saved in the event as aCSPadPixCoords::Image2D<double>
object, otherwise (for other names) as andarray<double,2>
object.
...
source
(default: "DetInfo(:Cspad)") – source of datakey
(default: "Image2D") – key for input image datathreshold
(default: 10) – minimal threshold on pixel amplitudenumPixMin
(default: 100) – minimal number of pixels with amplitude above the thresholdfilterIsOn
(default: true) – On/Off the filterxmin
(default: 0) – minimal column numberxmax
(default: 100000) – maximal column numberymin
(default: 0) – minimal row numberymax
(default: 100000) – maximal row numberprint_bits
(default: 0) – verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - summary,
- 3 bit (+4 ) - per event number of pixels above the threshold
- 4 bit (+8 ) - event ID.
Remarks:
- The default
key
("Image2D") stands for theCSPadPixCoords::Image2D<double>
image object. Otherkey
names work for thendarray<double,2>
image object. - The
xmin
,xmax
,ymin
,ymax
(in pixels) defines the window in the image for pixel counting. Default values means the entire image range. - The
threshold
,numPixMin
, and the window extents have to be adjusted for particular experiment.
...
source
(default: "DetInfo()") – source of datakey
(default: "") – key for input image datapeaksKey
(default: "peaks") – key for output list of peaksthreshold_low
(default: 10) – low threshold on pixel amplitudethreshold_high
(default: 100) – high threshold on pixel amplitudesigma
(default: 1.5) – width of the Gaussian for smearingsmear_radius
(default: 1) – radius in pixel for smearingpeak_radius
(default: 3) – radius in pixel for peak findingxmin
(default: 0) – minimal column numberxmax
(default: 100000) – maximal column numberymin
(default: 0) – minimal row numberymax
(default: 100000) – maximal row numbertestEvent
(default: 0) – event number to save images and print info for test purposefinderIsOn
(default: true) – On/Off algorithmprint_bits
(default: 0) – finder verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - summary,
- 3 bit (+4 ) - number of peaks in the event,
- 4 bit (+8 ) - per event each peak parameters,
- 5 bit (+16)- info about input image format.
...
source
(default: "DetInfo()") – source of datakey
(default: "peaks") – key for input list of peaks, should be the same aspeaksKey
inImgPeakFinder
threshold_peak
(default: 0) – threshold on peak amplitudethreshold_total
(default: 0) – threshold on total peak intensity (in the matrix around peak)n_peaks_min
(default: 1) – minimal number of peaks above all thresholdsfilterIsOn
(default: true) – On/Off the filterprint_bits
(default: 0) – filter verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - summary,
- 3 bit (+4 ) - peaks' info,
- 4 bit (+8 ) - event ID.
Module ImgAlgos::TimeStampFilter
...
tsinterval
(default: "1970-01-01 00:00:00.000000000 / 2100-01-01 00:00:00.000000000") – time-stamp interval stringtstamp_min
(default: "1970-01-01 00:00:00.000000000") – minimal time-stamp stringtstamp_max
(default: "2100-01-01 00:00:00.000000000") – maximal time-stamp stringfilterIsOn
(default: true) – On/Off the filterprint_bits
(default: 0) – filter verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - summary,
- 3 bit (+4 ) - event ID,
- 4 bit (+8 ) - time stamp variables for selected event.
...
filterIsOn
(default: true) – On/Off filter.first
(default: 0) – the first event from the beginning of job, starting from 0.last
(default: 1<<31) – the last event from the beginning of job.evtstring
(default: "") – the string of events of intervals from the beginning of job.print_bits
(default: 0) – filter verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - summary,
- 3 bit (+4 ) - selected event number and ID.
...
source
(default: "DetInfo(:Cspad)") – input source of datakey
(default: "") – key for input data, for example, it might be "calibrated"avefile
(default: "cspad-ave.dat") – out file with averaged amplitudesrmsfile
(default: "cspad-rms.dat") – out file with rmsevts_stage1
(default: 1<<31U) – number of events before stage 1evts_stage2
(default: 100) – additional number of events before stage 2gate_width1
(default: 0) – gate_width for stage 1gate_width2
(default: 0) – gate_width for stage 2print_bits
(default: 0) – module verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - beginning of 3 stages,
- 3 bit (+4 ) - processed statistics at the end of each stage,
- 4 bit (+8 ) - output in files,
- 5 bit (+16 ) - event ID.
Default version of the configuration parameters works the same way as cspad_mod.CsPadPedestals. In this case module gets raw events and stage 0 continues for entire input data sample.
...
source
(default: "DetInfo(:Cspad)") – input source of datainputKey
(default: " " ) – key for input data, by default use raw dataoutputKey
(default: "bkgd_subtracted" ) – output key for the next data processing stageWiki Markup {{bkgd_fname}} (default: "cspad_background.dat" ) -- file with CSPad array \[4*8*185\]\[388\] of averaged background
norm_sector
(default: 0) – CSPad sector in quad from 0 to 7print_bits
(default: 0) – module verbosity:- =0 - print nothing,
- 1 bit (+1 ) - input pars,
- 2 bit (+2 ) - event ID,
- 3 bit (+4 ) - normalization factor for each event,
- 4 bit (+8 ) - part of the background array.
...
Other event with better subtracted background:
Module ImgAlgos::ImgRadialCorrection
This module averages the image pixel amplitude in r-phi bins, normalizes it per single pixel and subtracts the average amplitude from each pixel. Image is obtained from event by its source
and inkey
values. The output corrected image is saved in the event with outkey
keyword. Carthesian to polar coordinate transformation is done with respect to center coordinates xcenter
, ycenter
. The central region (r<rmin) and edges of the image (r>rmax) pixels can be removed from further consideration by setting rmin
and rmax
. The number of radial bins is defined as an int(rmax-rmin)
. The number of angular bins is set by n_phi_bins
.
Module configuration parameters:
source
(default: "DetInfo()") – input source of datainkey
(default: " " ) – key for input data, by default use raw dataoutkey
(default: "rad_corrected" ) – output key for further image processingxcenter
(default: 850) – x coordinate of the image centerycenter
(default: 850) – y coordinate of the image centerrmin
(default: 10) – radius minimal image is not processed for r<rminrmax
(default:1000) – radius maximal image is not processed for r>rmaxn_phi_bins
(default: 12) – number of angular sectors for the background averaging.event
(default: 0) – test event for print/saveprint_bits
(default: 0) – module verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - summary,
- +4 - event ID,
- +8 - info about input image type (ndarray<double,2> or Image2D<double>).