Page History
...
See also Example for Module ImgAlgos::ImgSaveInFile.
Module ImgAlgos::ImgVsTimeSplitInFiles
This module is designed for parallel image processing for correlation analysis.
Functionality:
- get image for each event as a
ndarray<T,2>
object,
m_str_src = configStr("source", "Cxi"DetInfo(:Princeton)");
m_key = configStr("key", "Image2D");
m_fname_prefix = configStr("fname_prefix", "img");
m_file_type = configStr("file_type", "txt");
m_nfiles_out = config ("nfiles_out", 8);
m_ampl_thr = config ("ampl_thr", 1);
m_ampl_min = config ("ampl_min", 1);
m_print_bits = config ("print_bits", 0);
Module configuration parameters:
source
(default: "DetInfo(:Princeton)") – source of data,key
(default: "img") – input image key,fname_prefix
(default: "my-exp") – output files common prefix,file_type
(default: "bin") – output files type: "bin", "txt"nfiles_out
(default: 8 ) – number of output files (or number of parts to split image),ampl_thr
(default: 1 ) – pixel amplitude threshold in image amplitude units,ampl_min
(default: 1 ) – default pixel amplitude if it is belowampl_min
print_bits
(default: 0 ) – verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - event record,
- +4 - job summary,
- +8 - details about split and saving,
- +16 - info about saved files.
See also Example for Module ImgAlgos::ImgVsTimeSplitInFiles.
Module ImgAlgos::CSPadArrSaveInFile
Wiki Markup |
---|
This module saves the CSPad data array formatted as \[5920=4*8*185\]\[388\] in output file for each passes event. Module configuration parameters: |
...
Overview
Content Tools