Page History
...
Test of the NDArrCalib module for pnCCD.
Module ImgAlgos::PixCoordsProducer
Functionality
For data source
in each run loads/updates calibration geometry
file from the calibration DB, evaluates pixel coordinate arrays using class PSCalib::GeometryAccess and saves them as ndarray<const float,1> in the event store for keywords x-pix-coords,
y-pix-coords, and
z-pix-coords.
The main idea of this module is that calibration geometry
file will be found and loaded (if available) automatically.
Configuration parameters
parameter | default value | description |
---|---|---|
|
| source of data |
|
| group of calibration type, by default will be set from source |
|
| output key pixel x-coordinate[um] array |
|
| output key pixel y-coordinate[um] array |
|
| output key pixel z-coordinate[um] array |
| 0 | verbosity:
|
Current version of this module works with CSPAD and CSPAD2x2. It can be extended for other detectors, whenever necessary.
See Example for Module ImgAlgos::PixCoordsProducer
Module ImgAlgos::ImgAverage
This module averages over events the per-pixel data of the image array (ndarray<const
double,2>) and saves files for averaged, rms values, and, if requested, the hot pixel mask. Input data can be specified by the source
and key
parameters. Averaging may have up to three stages, depending on configuration parameters:
...