Versions Compared

Key

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

...

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

"Image2Dimage"

output key for image saved in event

outtype

int16

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

tiltIsApplied

true

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

print_bits

0

verbosity:

  • =0 - print nothing
  • +1 - input parameters
  • +2 - calibration parameters
  • +4 - event ID

...

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

...

parameter

default value

type

description

source

*-*|Cspad-*

string

address of Detector-Id|Device-IDId

data_type

int

string

output array data type. Implemented types: int, int8, int16, int32, uint8, uint16, uint32, float, double.

key_out

cspad_array

string

unique keyword for output array identification

val_miss

0

float

intensity value substituted for missing 2x1 sections in data

print_bits

1

int

module verbosity:

  • =0 - print nothing
  • +1 - input pars (in __init__)
  • +2 - configuration parameters (in beginjob)
  • +8 - part of the output 2-d array (in event)
  • +32 - per quad info (in event)

...

See also Examples for package pyimgalgos.

Module pyimgalgos.image_crop

This module gets from evt store the 2-d image numpy array identified by source and key_in, crop it  using range of rows and columns parameters, and saves cropped 2-d image numpy array  in the evt store with unique key_out.

parameter

default value

type

description

source

*-*|Cspad-*

string

address of Detector.Id:Device.Id, or Detector-Id|Device-Id

key_in

mage_in

string

keyword for input 2-d image numpy array

key_out

image_out

string

keyword for output 2-d image numpy array

rowmin 0introw minimal to crop image (dafault =  0 - for full size)
rowmax-1introw maximal to crop image (dafault = -1 - for full size)
colmin 0intcolumn minimal to crop image (dafault =  0 - for full size)
colmax-1intcolumn maximal to crop image (dafault = -1 - for full size)

print_bits

 1

int

module verbosity:

  • =0 - print nothing
  • +1 - input pars (in __init__)
  • +2 - input image parameters (in the 1st event)

 

 

 

Module pyimgalgos.image_save_in_file

...