Page History
...
parameter | default value | description | ||
---|---|---|---|---|
| "DetInfo(:Cspad)" | input source of data | ||
|
| key for input data, by default use raw data | ||
| "bkgd_subtracted" | output key for the next data processing stage | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="46ca0551def26a40-febd01f4-49514548-b2a5875a-1e16a4931aaa7455609c67bc"><ac:plain-text-body><![CDATA[ | | "cspad_background.dat" | file with CSPad array [4*8*185][388] of averaged background | ]]></ac:plain-text-body></ac:structured-macro> |
| 0 | CSPad sector in quad from 0 to 7 | ||
| 0 | module verbosity:
|
...
parameter | default value | description | ||
---|---|---|---|---|
| "DetInfo(:Cspad)" | input source of data | ||
|
| key for input data, by default use raw data | ||
| "bkgd_subtracted" | output key for the next data processing stage | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="66db40d5d80b5dee-c49e4e79-4d4e46eb-b152a16e-848a5ddafd017819332ec140"><ac:plain-text-body><![CDATA[ | | "cspad_mask.dat" | file with CSPad mask array [4*8*185][388] | ]]></ac:plain-text-body></ac:structured-macro> |
| 0 | this amplitude will replace the amplitude in each masked pixel | ||
| 1 | control bits for applied mask:
| ||
| 0 | module verbosity:
|
...
See also Examples for package py_img_algos.
Module py_img_algos.cspad_image_producer
This module gets from evt
store the numpy array identified by key_in
of full scale shape (4,8,185,388) or (185, 388, 2) for CSPAD or CSPAD2x2, respectively, and produces 2-d image numpy array, taking into account geometry calibration parameters specified by the path calib_dir
. The output image array is saved in the evt
store with unique name, specified by parameter key_out
.
parameter | default value | type | description |
---|---|---|---|
| '' (empty) | string | path to calibration directory for ex.: |
| cspad_array | string | keyword for input numpy array, shape=(4, 8, 185, 388) - for cspad or (185, 388, 2) - for cspad2x2 |
| cspad_image | string | unique keyword for output 2-d image numpy array |
| 1 | int | module verbosity:
|
See also Examples for package py_img_algos.
Module py_img_algos.image_save_in_file
This module gets from evt
store 2-d image numpy array for specified unique name in key_in
and saves it in the file with name given by parameter ofname
. File extension defimes defines the output file format. Run and event numbers are added to the name of the output file. For example, for ofname = image.tiff
files will be created with names image-r####-ev######.tiff
, where symbols # stands for numbernumbers.
parameter | default value | type | description |
---|---|---|---|
| image | string | unique keyword for input 2-d image numpy array |
| img.npy | string | output file name (type is selected by extension) supported formats: txt, tiff, gif, pdf, eps, png, jpg, jpeg, npy (default), npz |
| 1 | int | module verbosity:
|
See also Examples for package py_img_algos.
Module py_img_algos.tahometer
...
See also Examples for package py_img_algos.