Versions Compared

Key

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

...

  • pedestals – per-pixel pedestal data (produced by the CsPadPedestals module or standalone applications)
  • pixel_status – hot/dead status for every pixel, used by common mode algorithm
  • common_mode – file with parameters controlling common mode calculation
  • pixel_gain – per-pixel gain data, inverse pixel gain (1/gain) as floating number

If any of the files is missing then corresponding algorithm is not executed, if pixel_status file is missing then all pixels are assumed to have working status. Algorithms inside module are executed following this order:

  • common mode is calculated for every segment; common mode uses pedestal and pixel status values
  • if common mode is calculated successfully it is subtracted from every pixel value in a segment
  • if pedestals are defined pedestal values are subtracted from every pixel value
  • if pixel gains are defined then each pixel value is multiplied by corresponding gain factor
  • resulting pixel value is rounded to nearest integer and stored in the output image

The calibration is performed on every CsPad image (full or 2x2) found in the event and works even if there is more than one CsPad data object. The original objects are preserved in event and result of the calibration is stored in event with different string key ("calibrated" by default, can be changed with module parameter).

...

  • inputKey (default is empty) – string key used to locate uncalibrated data objects in event
  • outputKey (default is "calibrated") – string key used to store calibrated data objects in event
  • doPedestals (default is "yes") – can be set to "no" to explicitly disable pedestal subtraction algorithm
  • doPixelStatus (default is "yes") – can be set to "no" to explicitly disable reading of pixel status data, all pixels will be used for common mode
  • doCommonMode (default is "yes") – can be set to "no" to explicitly disable common mode algorithm
  • doPixelGain (default is "yes") – can be set to "no" to explicitly disable pixel gain correction algorithm

Module cspad_mod.CsPadFilter

...