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}}. This module presents a part of features implemented in the module [ImgAlgos::CSPadArrPeakFinder|PCDS:Psana Module Catalog#Module ImgAlgos::CSPadArrPeakFinder].

Module configuration parameters:

...

Module ImgAlgos::CSPadArrPeakFinder

Wiki Markup
This module extends features of the previous [ImgAlgos::CSPadArrNoise|PCDS:Psana Module Catalog#Module ImgAlgos::CSPadArrNoise] module for the case ofis intended for peak finding.
It works on in CSPad data array (shaped as \[5920=4*8*185\]\[388\]. It extends features of the module [ImgAlgos::CSPadArrNoise|PCDS:Psana Module Catalog#Module ImgAlgos::CSPadArrNoise]) and works as follows:

  • in the constructor and beginJob(...) method:
    • enters input parameters,
    • (re)set the initial mask of noisy pixels from file hot_pix_mask_file (if its name is specified in the configuration file),
    • do necessary initialization of work arrays.

...