Versions Compared

Key

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

...

  • gets CSPAD configuration from the environment frame Psana::CsPad::ConfigV#,
  • gets CSPAD data from the event frames Psana::CsPad::DataV#, Psana::CsPad::ElementV#,
  • creates the data array as ndarray<T,3>, where T stands for outtype, which may be double, float, int, or uint16_t,
  • puts the data array in the event with outkey tag.

The data array ndarray<T,3> has a shape (N,185,388), where N?32N≤32.
This array is combined from data arrays for quads, ndarray<int32_t,3> with shape (M,185,388), where M?8M≤8, taking into account the CSPAD configuration.

...

parameter

default value

description

source

":Cspad.0"

source of data

inkey

 

key for data processing stage

outkey

"cspad_ndarr"

output key for image saved in event

outtype

float

type of output data from the list of supported (float, double, int, int16)

print_bits

0

verbosity:

  • =0 - print nothing
  • +1 - input pars
  • +4 - consumed time per event

Module CSPadPixCoords::CSPad2x2NDArrProducer

CSPad2x2NDArrProducer is a module for psana framework. It uses specified source and inkey parameters,

  • gets CSPAD2x2 configuration from the environment frame Psana::CsPad2x2::ConfigV#,
  • gets CSPAD2x2 data from the event frames Psana::CsPad2x2::ElementV#,
  • creates the data array as ndarray<T,3>, where T stands for outtype, which may be double, float, int, or uint16,
  • puts the data array in the event with outkey tag.

The data array ndarray<T,3> has a shape (185,388,2).

Note

In real data some 2x1 may be turned off, that can be seen in configuration object.

parameter

default value

description

source

":Cspad2x2.0"

source of data

inkey

 

key for data processing stage

outkey

"cspad2x2_ndarr"

output key for image saved in event

outtype

float

type of output data from the list of supported (float, double, int, int16)

print_bits

0

verbosity:

  • =0 - print nothing
  • +1 - input parameters
  • +2 - configuration parameters
  • +4 - consumed time per event

...