Page History
...
Example for Module ImgAlgos::AcqirisCFD
Module ImgAlgos::NDArrImageProducer
For any available in the event store ndarray<
defined by the const
T,NDim>,source
and key_in
parameters, and which size is equal to the number of pixels in the detector, this module creates 2-d image ndarray<
and saves it in the event store with key_out. TOUT is defined by the type_out. Pixel geometry array is retreived from the calibration file of "geometry" type from default standard or specified in const
TOUT,2>calibdir
directory.
Configuration parameters:
parameter | default value | description |
---|---|---|
| "" | input source of data |
| "" | key for input data, for example it might be "calibrated", by default (empty) raw data |
key_out | "image" | key for output image in the event store. |
type_out | "asinp" | type of data in output image array. Possible values - "asinp"-the same type as input array, "int16", "float", "double", "int". |
| 0 | module verbosity:
|
Additional parameters which can be used for special applications like alignment:
parameter | default value | description |
---|---|---|
| "" | non-default calibration directory for "geometry" file |
calibgroup | "" | by-default calibration group is retreived from source name as <detector>::CalibV1 |
oname | "" | top object name in the hierarchial geometry file |
oindex | 0 | top object index in the hierarchial geometry file |
pix_scale_size_um | 0 | set the ize of the image bin. By-default this value is extracted from sensor. |
x0_off_pix | 0 | offset of the top geometry object origin x0 coordinate on the image in number of pixels |
y0_off_pix | 0 | offset of the top geometry object origin y0 coordinate on the image in number of pixels |
See also Example for Module ImgAlgos::NDArrImageProducer.
Module ImgAlgos::NDArrAverage
This module averages over events the per-element data of the image array (ndarray<
, where T is implemented for almost all types: int, int16, uint, float, double etc., NDim≤5) and saves files for sum, averaged, rms values, mask, and, the hot pixel map. Input const
T,NDim>ndarray
can be specified by the source
and key
parameters. Averaging may have up to three stages, depending on configuration parameters:
...