Versions Compared

Key

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

...

Code Block
[psana]
files = exp=mecb3114:run=17
#events = 5
#skip-events = 0

modules = ImgAlgos.AndorImageProducer \
          pyimgalgos.image_save_in_file

[ImgAlgos.AndorImageProducer]
source  = DetInfo(MecTargetChamber.0:Andor.1)
key_in  = 
key_out = andor_img
outtype = asdata
print_bits = 1

[pyimgalgos.image_save_in_file]
source          = DetInfo(MecTargetChamber.0:Andor.1)
key_in          = andor_img
#ofname          = andor.1.txt
ofname          = andor.1.tiff
print_bits      = 5

 

 

Configuration file for C++ module ImgAlgos.ImgSaveInFile

Module ImgAlgos.ImgSaveInFile can be added to the configuration file as:

Code Block
modules = ImgAlgos.AndorImageProducer \
          ...
          ImgAlgos.ImgSaveInFile
...

[ImgAlgos.ImgSaveInFile]
source          = DetInfo(MecTargetChamber.0:Andor.1)
key             = andor_img
saveAll         = yes
#ftype           = tiff
ftype           = txt
fname           = andor
print_bits      = 3

 

Get TIFF files from data

Run psana with configuration file and optional experiment/run number structure exp=mecb3114:run=17 by the command:

     psana -c psana-mecb3114-r0017-tiff.cfg  exp=mecb3114:run=17

...