Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#F7F7ED
[psana]           
files         = /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/<file-name-1>.xtc\
                /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/<file-name-2>.xtc

modules       = ImgAlgos.Tahometer

[ImgAlgos.Tahometer]
dn         = 10
print_bits = 7

Example for module ImgAlgos::EpixNDArrProducer

See Module ImgAlgos::EpixNDArrProducer

Example of the psana configuration file:

Code Block
[psana]
files         = exp=xppi0414:run=94
events        = 100
modules       = ImgAlgos.EpixNDArrProducer \
                ImgAlgos.NDArrAverage

[ImgAlgos.EpixNDArrProducer]
source = DetInfo(:Epix10k)
key_in =
key_out = epix-nda
outtype = float
print_bits = 255

[ImgAlgos.NDArrAverage]
source       = DetInfo(:Epix10k)
key          = epix-nda
avefile      = epix-ave
print_bits   = 29

EpixNDArrProducer gets Epix10k ndarray from data and saves it in the events store with possible type conversion. Then NDArrAverage averages this ndarray over requested number of events (100) and saves it in file.

Example for module ImgAlgos::PnccdImageProducer

See Module ImgAlgos::PnccdImageProducer

...