Page History
...
- get image for each event as an
ndarray<T,2>
object, - splits it for
nfiles_out
equal parts, - saves each part of the image for all events in the job in a separate file with name
<fname_prefix>-r<run<fname-number>common>-b<block-number>.<file_type>
, - saves metadata in the text file with name:
<fname_prefix>-r<run-number>.med-<fname-common>-med.txt
, - saves counter number and the time records in file:
<fname_prefix>-<fname-common>-time.txt
.
Module configuration parameters:
...
See also Example for Module ImgAlgos::ImgVsTimeSplitInFiles.
Further processing of the files
<fname_prefix>-<fname-common>-b<block-number>.<file_type>
<fname_prefix>-<fname-common>-med.txt
<fname_prefix>-<fname-common>-time.txt
is implemented in stand-alone c++ moduleCode Block ImgAlgos/app/corana.cpp (or ImgAlgos/test/corana.cpp)
whereNote Note, the application in the
test
directory is compiled and run by the commands:
scons test
<path>/corana -f <fname_data> -t <fname_tau> -h -l <logfile> -b <basedir>
<fname_data>
is one of the data files:<fname_prefix>-<fname-common>-b<block-number>.<file_type>
, which needs to be available;<fname_tau>
is a file with a list of indexes of tau for evaluation of correlations. By default or if the file is missing, the list of indexes will be generated automatically, and for book-keeping is saved in the file<fname_prefix>-<fname-common>-tau.txt
;<basedir>
is a directory for all data files, which is current by default;<logfile>
is an output log-file, or standard output by default.
Module ImgAlgos::CSPadArrSaveInFile
...
Overview
Content Tools