Page History
...
- ImgCalib uses the
source
andkey_in
parameters to get the input raw image (asndarray<
object), where T stands for uint16_t, int, float, uint8_t, or double,const
T,2> - gets the calibration parameters from files
fname_peds
,fname_bkgd
,fname_gain
,fname_mask
, andfname_nrmsrms
, if their names are specified, the specified by the file name corrections are applied per-pixel to raw data image as follows:
Code Block bgColor #F7F7ED A_cor = A_raw (1) - pedestal | if the file name is specified in the parameter "fname_peds" (2) - N*background | if the file name is specified in the parameter "fname_bkgd" (3) * gain | if the file name is specified in the parameter "fname_gain" (4) apply mask | if the file name is specified in the parameter "fname_mask" (5) apply N*RMS threshold | if the file name is specified in the parameter "fname_nrms" (6) apply threshold | if the "do_threshold" = true
- corrected image is saved in the event with key
key_out
asdouble
type.
...
parameter | default value | description |
---|---|---|
| "DetInfo(:Camera)" | source of data |
|
| key for input image |
| "calibrated" | output key for calibrated image saved in event |
|
| input file name for pedestals, applied if the file name is specified |
|
| input file name for background, applied if the file name is specified |
|
| input file name for gain, applied if the file name is specified |
|
| input file name for mask, applied if the file name is specified |
|
| input file name for RMS, applied if the file name is specified |
| 0. | amplitude value (in ADU) substituted for masked pixels |
| 3. | threshold as a number of sigmas from file |
| 0. | constant low level threshold in ADU |
| 0. | the amplitude substituted in pixels below threshold |
| false | if true - low level |
| 0 | the window in image, which is used for background normalization |
| 10 | the window in image, which is used for background normalization |
| 0 | the window in image, which is used for background normalization |
| 10 | the window in image, which is used for background normalization |
| 0 | verbosity:
|
...