Page History
...
parameter | default value | description |
---|---|---|
| "DetInfo(:Cspad)" | input source of data |
|
| key for input data, for example, it might be "calibrated" |
|
| key for output signal array. If the string non-empty, the array is added in the datagram for each event (before selection). |
| "peaks" | key for vector of found peaks in the selected event |
| key for ndarray<const float,2>, shape=[Npeans,12] of found peaks in the selected event | |
| "cspad-pix-mask-in.dat" | in read the pixel mask from file |
| "cspad-pix-mask-out.dat" | out write current pixel mask in the file |
| "cspad-pix-frac-out.dat" | out file with per-pixel fraction of noisy images |
| "./cspad-ev-" | out file with signal CSPad array. Time stamp is added. |
| 3 | radial parameter of the area for median algorithm |
| 1 | radial band width of the area for median algorithm |
| 3 | S/N threshold for each pixel to be considered as noisy |
| 5 | S/N threshold for each pixel to be considered as noisy |
| 0.9 | fraction of noisy images above which pixel will be masked |
| 4 | minimal number of connected pixels for the good peak |
| 25 | maximal number of connected pixels for the good peak |
| 0. | threshold on total signal amplitude of the group of connected pixels, if =0:OFF |
| 7. | threshold on peak S/N (S and N are sums over connected pixels) |
| 10 | threshold on minimal number of good peaks for the event selection |
| 10000 | threshold on maximal number of good peaks for the event selection |
| 0. | threshold on total signal amplitude in ADU of all good peaks for the event selection, if =0:OFF |
| 0 | number of skipped events before each mask re-evaluation cycle |
| 50 | number of events for the mask re-evaluation |
| SELECTION_ON | selection mode, other allowed values are: SELECTION_OFF, or SELECTION_INV |
| 0 | control on writing of files:
|
| 0 | module verbosity:
|
...
See also Examples for package pyimgalgos.
Module pyimgalgos.ex_peaks_nda
This module is an example of how to get from the evt
store the 2-d numpy array of shape=[Npeaks,12] with peak info produced by ImgAlgos.CSPadArrPeakFinder.
The numpy array is identified by
. If the peak numpy array is available in the event it will be printed.source
and key_in
parameter | default value | type | description |
---|---|---|---|
| DetInfo(:Cspad.) | string | address of Detector.Id:Device.Id |
| peaks_nda | string | keyword for input 2-d numpy array |
| 1 | int | module verbosity:
|
See also Example for Module ImgAlgos::CSPadArrPeakAnalysis.
Package Translator
The translator package include the H5Output module which translates xtc to hdf5. For more information see the page The XTC-to-HDF5 Translator
...