Versions Compared

Key

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

...

parameter

default value

description

source

"DetInfo(:Camera)"

source of data

key_in

 

key for input image

key_out

"calibratedimg-hits"

output key for calibrated image saved in event

fname_peds

 

input file name for pedestals, applied if the file name is specified

fname_mask

 

input file name for mask, applied if the file name is specified

fname_gain

 

input file name for gain, applied if the file name is specified

fname_thre

 

input file name for threshold, applied if the file name is specified and thre_mode is not zero

masked_value

0.

amplitude value (in ADU) substituted for masked pixels

thre_mode

1

threshold mode: 0 - is not applied; 1 - constant level threshold defined by thre_param in ADU; 2 - apply threshold from file fname_thre multiplied by thre_param; 3 - the same as 2 but local peak finding algorithm is on

thre_param

def

threshold parameter - its meaning depends on thre_mode

thre_below_value

0.

the amplitude substituted in pixels below threshold

thre_above_value

def

the amplitude substituted in pixels below threshold, by default - amplitude above threshold is not substituted

win_row_min

1

the window in image, which is used to make hit map

win_row_max

def

the window in image, which is used to make hit map, by default - use all rows-1

win_col_min

1

the window in image, which is used to make hit map

win_col_max

def

the window in image, which is used to make hit map, by default - use all columns-1

print_bits

0

verbosity:

  • =0 - print nothing
  • +1 - input pars
  • +2 - time stamp for each event
  • +4 - detailed info about input files for pedestals, mask, background, and gain
  • +8 - first 10 elements of the raw image data
  • +16 - first 10 elements of the calibrated image data
  • +32 - print once input and output image data types

...

parameter

default value

description

source

"DetInfo(:Cspad)"

input source of data

inputKey

 

key for input data, by default use raw data

outputKey

"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="49b496f2aa22c268-11cb3378-4b814b2c-bb78bdd5-374dffd6bc2ace8b9f60fd9e"><ac:plain-text-body><![CDATA[

bkgd_fname

"cspad_background.dat"

file with CSPad array [4*8*185][388] of averaged background

]]></ac:plain-text-body></ac:structured-macro>

norm_sector

0

CSPad sector in quad from 0 to 7

print_bits

0

module verbosity:

  • =0 - print nothing
  • +1 - input pars
  • +2 - event ID
  • +4 - normalization factor for each event
  • +8 - part of the background array

...

parameter

default value

description

source

"DetInfo(:Cspad)"

input source of data

inkey

 

key for input data, by default use raw data

outkey

"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="26fb9d28ac0a7beb-239aa6cd-47ff4952-8a99b48c-5935be9d550ec54764853e2b"><ac:plain-text-body><![CDATA[

mask_fname

"cspad_mask.dat"

file with CSPad mask array [4*8*185][388]

]]></ac:plain-text-body></ac:structured-macro>

masked_amp

0

this amplitude will replace the amplitude in each masked pixel

mask_control_bits

1

control bits for applied mask:

  • =0 - do not apply any mask
  • +1 - apply mask from file
  • +2 - mask two long edges of 2x1
  • +4 - mask two short edges of 2x1
  • +8 - mask two short rows in the middle of 2x1 (rows with wide pixels)

print_bits

0

module verbosity:

  • =0 - print nothing
  • +1 - input pars (in beginJob)
  • +2 - event ID (in event)
  • +4 - mask statistics (in beginJob)
  • +8 - part of the mask array (in beginJob)

...