Versions Compared

Key

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

...

  • ImgCalib uses the source and key_in parameters to get the input raw image (as ndarray<double,2> object),
  • gets the calibration parameters from files fname_peds, fname_bkgd, fname_gain, and fname_mask, if their names are specified,
  • the specified by the file name corrections are applied per-pixel to raw data image as follows:
    Code Block
    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 threshold   | if the threshold value is specified in {{threshold}} the parameter "threshold"
    
  • corrected image is saved in the event with key key_out.

...