Versions Compared

Key

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

...

parameter

default value

description

calibDir

 

directory with calibration files, by default it is set to .../<experiment>/calib

typeGroupName

"CsPad::CalibV1"

calibration type and group names

source

"CxiDs1.0:Cspad.0"

source of data

key

 

key for data processing stage

imgkey

"image"

output key for image saved in event

tiltIsApplied

true

on/off for tilt angle of 2x1-sections and quads.

print_bits

0

verbosity:

  • =0 - print nothing,
  • +1 - input pars,
  • +2 - calib pars,
  • +4 - consumed time per event,
  • +8 - information about image saved in event.

...

  • 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:

...

parameter

default value

description

calibDir

 

path to the calib directory, if different from default

typeGroupName

...

"CsPad2x2::CalibV1"

...

calibration software version

source

...

"DetInfo(:Cspad2x2.1)"

...

source of data

...

inkey

...

 

key for data processing stage

...

outimgkey

...

"Image2D"

...

output key for image saved in event

...

tiltIsApplied

...

true

on/off for tilt angle of 2x1-sections and quads - currently is not used

...

print_bits

...

0

verbosity:

  • =0 - print nothing

...

  • +1 - calib pars

...

  • +2 - eventID

...

Remarks:

  • By default the empty inkey corresponds to raw data.
  • If the outimgkey is defined as "Image2D", the image is saved in the event as a CSPadPixCoords::Image2D<double> object, otherwise (for other names) as a ndarray<double,2> object.

...

Note

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

Module configuration parameters:

...

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

...

print_bits

...

0

verbosity:

  • =0 - print nothing

...

  • +1 - input pars

...

  • +4 - consumed time per event

...

Package ImgPixSpectra

For complete reference see the Doxygen documentation.

...

Module ImgPixSpectra::CSPadPixSpectra

Module configuration parameters:

...

parameter

default value

description

source

"CxiDs1.0:Cspad.0"

...

source of data for CSPad

events

...

1<<31U

number of events before stop a job

inputKey

...

 

input key for data processing stage

amin

...

0.

...

minimal spectral amplitude

amax

...

1000.

...

maximal spectral amplitude

nbins

...

100

number of bins in spectra

arr_fname

...

"..._spectral_array.txt"

...

output file name

Module ImgPixSpectra::MiniCSPadPixSpectra

The only difference in interface of this module from previous is in the default name for the source parameter and the output file name.

...

parameter

default value

description

source

"DetInfo(:Cspad2x2)"

...

source of data for MiniCSPad

Module ImgPixSpectra::CameraPixSpectra

The only difference in interface of this module from previous is in the default name for the source parameter and the output file name.

...

– ||parameter||default value||description||
– | source | "DetInfo(SxrBeamline.0:Opal1000.1)"

...

| source of data for Opal camera |
or

...

– ||parameter||default value||description||
– | source | "DetInfo(:Princeton)"

...

| source of data for Princeton camera |

See also Example for Package ImgPixSpectra.

...