Versions Compared

Key

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

...

  • source (default: "DetInfo(:Cspad)") – input source of data
  • inputKey (default: " " ) – key for input data, by default use raw data
  • outputKey (default: "bkgd_subtracted" ) – output key for the next data processing stage
  • Wiki Markup
    {{bkgd_fname}} (default: "cspad_background.dat" ) -- file with CSPad array \[4*8*185\]\[388\] of averaged background
  • norm_sector (default: 0) – CSPad sector in quad from 0 to 7
  • print_bits (default: 0) – module verbosity:
    • 0 - print nothing,
    • 1 bit (1) - input pars,
    • 2 bit (2) - event ID,
    • 3 bit (4) - normalization factor for each event,
    • 4 bit (8) - part of the background array.

Example of the module application

...

The file with the background array, bkgd_fname, was obtained by averaging 1000 events using module CSPadArrAverage. Subtraction is done with normalization for norm_sector=0.
Event image and pixel amplitude spectrum before and after the background subtraction are shown in plots:

As a cross check, the averaged over the same 1000 events array with subtracted background is shown below.
As expected, it is about zero.
Image AddedImage Added

However, the image averaged over the half of this sample (500 events) shows systematic offset from zero, that tells about variation of the background in runtime
Image Added
Image Added