Page History
...
Module configuration parameters:
source
(default: "DetInfo()") – name of the data source; default value is adequate if there is only one CsPad device in setup, if there is more than one device then more specific value should be providedoutput
(default: "cspad-pedestals.dat") – name of the output file for average values, if empty file will not be writtennoise
(default: "cspad-noise.dat") – name of the output file for standard deviation values, if empty file will not be written
To use this module with default parameters one could use this command:
Code Block |
---|
psana -m cspad_mod.CsPadPedestals input-files.xtc
|
which will produce files cspad-pedestals.dat
and cspad-noise.dat
in the current directory (if input file contains CsPad data).
To change module parameters one could create file with name psana.cfg
in the current directory with a contents like this:
Code Block |
---|
[psana]
modules = cspad_mod.CsPadPedestals
[cspad_mod.CsPadPedestals]
source = DetInfo(CxiDs1.0:Cspad.0)
output = pedestals.dat
noise =
|
and then run psana:
Code Block |
---|
psana input-files.xtc
|
This should produce file pedestals.dat
in the current directory. As the source address is more specific this configuration file can be used even if input data contain more than one CsPad device.
Module cspad_mod.CsPadCalib
...
Overview
Content Tools