Versions Compared

Key

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

...

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 in the {{maskfile}} and {{statusfile}}, respectively. The {{statusfile}} contains for each pixel the fraction of events where {{S/N \> SoNThr}}.

Module configuration parameters:

  • source (default: "DetInfo(:Cspad)") – input source of data
  • key (default: "") – key for input data, for example, it might be "calibrated"SoNThr
  • statusfile (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
  • "cspad-pix-status.dat") – out file with pixel status: fraction of noisy images
  • maskfile (default: "cspad-pix-mask.dat") – out file with pixel mask
  • rmin Rmin (default: 3) – radial parameter of the area for median algorithm
  • dR dr (default: 21) – radial band width of the area for median algorithm
  • statusfile SoNThr (default: "cspad-pix-status.dat") – out file with pixel status: fraction of noisy imagesmaskfile (default: "cspad-pix-mask.dat") – out file with pixel mask3) – 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
  • print_bits (default: 0) – module verbosity:
    • =0 - print nothing,
    • +1 - input pars,
    • +2 - empty,
    • +4 - processed statistics at the end of each stage,
    • +8 - output in files,
    • +16 - event ID,
    • +32 - event time stamp,
    • +32 - vector of indexes and map of indexes for the median algorithm.

See also Example for Module ImgAlgos::CSPadArrNoise.