Versions Compared

Key

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

...

See also Example for Module ImgAlgos::ImgRadialCorrection.

Module ImgAlgos::CSPadArrNoise

Wiki Markup
This module works on CSPad data array (shaped as \[5920=4*8*185\]\[388\]), uses the "median algorithm" to evaluate the signal and noise for each pixel, evaluates S/N ratio for each pixel, counts the fraction of events where S/N > SoNThr, and writes the same shape arrays for pixel mask and status information.

Module configuration parameters:

  • source (default: "DetInfo(:Cspad)") – input source of data
  • key (default: "") – key for input data, for example, it might be "calibrated"
  • SoNThr (default: 3) – S/N threshold for each pixel to be considered as noisy
  • frac_noisy_img (default: 0.1) – fraction of noisy images above which pixel is masked in the maskfile
  • Rmin (default: 3) – radial parameter of the area for median algorithm
  • dR (default: 2) – radial band width of the area for median algorithm
  • statusfile (default: "cspad-pix-status.dat") – out file with pixel status: fraction of noisy images
  • maskfile (default: "cspad-pix-mask.dat") – out file with pixel mask
  • print_bits (default: 0) – module verbosity:
    • =0 - print nothing,
    • +1 - input pars,
    • +2 -
    • +4 - processed statistics at the end of each stage,
    • +8 - output in files,
    • +16 - event ID,
    • +32 - event time stamp.

See also Example for Module ImgAlgos::CSPadArrNoise.