Versions Compared

Key

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

...

This module averages over events the per-pixel data of the image array (ndarray<double,2>) and saves two files for averaged and , rms values, and, if requested, the hot pixel mask. Input data can be specified by the source and key parameters. Averaging may have up to three stages, depending on configuration parameters:

...

  • source (default: "DetInfo(:Opal1000")) – input source of data
  • key (default: "") – key for input data, for example, it might be "calibrated"
  • avefile (default: "img-ave.dat") – out file with averaged amplitudes
  • rmsfile (default: "img-rms.dat") – out file with rms
  • hotpix_mask (default: "") – out file with hot pixel mask, saved if the name is not empty
  • hotpix_thr_adu (default: "10000.") – threshold on rms (in ADU); if rms exceeds this threshold - pixel is hot.
  • evts_stage1 (default: 1000000) – number of events before stage 1
  • evts_stage2 (default: 0) – additional number of events before stage 2
  • gate_width1 (default: 0) – gate_width for stage 1
  • gate_width2 (default: 0) – gate_width for stage 2
  • print_bits (default: 0) – module verbosity:
    • =0 - print nothing,
    • +1 - input pars,
    • +2 - event record,
    • +4 - beginning of 3 stages,
    • +8 - processed statistics at the end of each stage,
    • +16 - output in files.

...