Versions Compared

Key

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

...

See also Example for Module CSPadPixCoords::CSPad2x2ImageProducer.

Module CSPadPixCoords::SaveImageInFile (depricated)

Re-named from deprecated module CSPadPixCoords::CSPadImageGetTest.
Moved to ImgAlgos::ImgSaveInFile.

Package ImgPixSpectra

For complete reference see the Doxygen documentation.

...

Module ImgAlgos::ImgSaveInFile

Note

Aka depricated modules: CSPadPixCoords::CSPadImageGetTest, CSPadPixCoords::SaveImageInFile, and ImgAlgos::SaveImageInFile.

Module ImgSaveInFile is a psana module class, which works after the CSPadImageProducer or CSPadInterpolImageProducer. It receives the , CSPadInterpolImageProducer, CameraImageProducer, PnaadImageProducer, etc., which produce image object in formats CSPadPixCoords::Image2D<double> or ndarray<double,2> image object . ImgSaveInFile receives from the event . (This image object may be used in further data processing.) For test purpose, the image of particular event, defined by the eventSave parameter in configuration file, is saved in the image object by its source and key parameters and saves it as a per-pixel 2-d table in the text file with standard predefined name like cspad_image_ev<number>.txtprefix name fname for event(s) specified by the parameters eventSave or saveAll.

Module configuration parameters:

  • source (default: "CxiDs1.0:Cspad.0") – source of data,
  • key (default: "Image2D") – input image key,
  • eventSave (default: 0) – event number to save the CSPad image file,
  • saveAll (default: false) – save or not all selected events,
  • fname (default: "cspad_image_ev") – common part prefix of the output file name, event number with extension ".txt" will be added at the end. Entire file name is formed as <cspad_image_ev><timestamp>.txt.
  • print_bits(default: 0) – verbosity:
    • =0 - print nothing,
    • +1 - input pars,
    • +2 - info about saved files.

See also Example for Module ImgAlgos::ImgSaveInFile.

Module ImgAlgos::SaveImageInFile (depricated)

This module is renamed in ImgAlgos::ImgSaveInFile.

Module ImgAlgos::CSPadArrSaveInFile

...