Versions Compared

Key

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

...

parameter

default value

type

description

calib_dir

'' (empty)

string

path to calibration directory for ex.: /reg/d/psdm/mec/meca6113/calib/CsPad2x2::CalibV1/MecTargetChamber.0:Cspad2x2.1/

source

*-*|Cspad-*

string

address of Detector-Id|Device-Id

key_in

cspad_array

string

keyword for input numpy array, shape=(4, 8, 185, 388) - for cspad or (185, 388, 2) - for cspad2x2

key_out

cspad_image

string

unique keyword for output 2-d image numpy array

print_bits

1

int

module verbosity:

  • =0 - print nothing
  • +1 - input pars (in __init__)
  • +2 - calibration parameters (in the 1st event)
  • +4 - configuration parameters (in the 1st event)
  • +8 - part of CSPAD array (in event)
  • +16 - output image shape (in event)

...

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

...

parameter

default value

type

description

source

*-*|Cspad-*

string

address of Detector-Id|Device-Id

key_in

image

string

unique keyword for input 2-d image numpy array

ofname

img.npy

string

output file name (type is selected by extension) supported formats: txt, tiff, gif, pdf, eps, png, jpg, jpeg, npy (default), npz

print_bits

1

int

module verbosity:

  • =0 - print nothing
  • +1 - input pars (in __init__)
  • +8 - part of the image array (in event)

...