Versions Compared

Key

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

...

CSPad2x2ImageProducer works in psana framework. It does a few operation as follows:

  • gets geometry alignment parameters center and tilt from /reg/d/psdm/<inst>/<experiment>/calib/... directory
  • gets the pixel coordinates from PixCoords2x1 and PixCoordsCSPad2x2 classes,
  • gets data from the event,
  • produces the Image2D<double> or ndarray<double,2> object with CSPad image for each event,
  • adds the image object in the event for processing in other modules.
    The CSPad2x2 image array is currently shaped as (400,400).

Module configuration parameters:

  • calibDir (default: "") – path to the calib directory, if different from default
  • typeGroupName (default: "CsPad2x2::CalibV1") – calibration software version
  • source (default: "DetInfo(:Cspad2x2.1)") – source of data,
  • inkey (default: "") – key for data processing stage,
  • outimgkey (default: "Image2D") – output key for image saved in event,
  • tiltIsApplied (default: falsetrue) – on/off for tilt angle of 2x1-sections and quads - currently is not used,
  • print_bits (default: 0) – verbosity:
    • =0 - print nothing,
    • +1 - calib pars,
    • +2 - eventID.

...