Page History
...
source
(default: "DetInfo()") – source of datakey
(default: "") – key for input image datapeaksKey
(default: "peaks") – key for output list of peaksthreshold_low
(default: 10) – low threshold on pixel amplitudethreshold_high
(default: 100) – high threshold on pixel amplitudesigma
(default: 1.5) – width of the Gaussian for smearing; =0-no smearingsmear_radius
(default: 13) – radius in pixel for smearingpeak_radius
(default: 3) – radius in pixel for peak findingxmin
(default: 0) – minimal column numberxmax
(default: 100000) – maximal column numberymin
(default: 0) – minimal row numberymax
(default: 100000) – maximal row numbertestEvent
(default: 0) – event number to save images and print info for test purposefinderIsOn
(default: true) – On/Off algorithmprint_bits
(default: 0) – finder verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - summary,
- +4 - number of peaks in the event,
- +8 - per event each peak parameters,
- +16- info about input image format.
...
This module use results and should work after the ImgAlgos::ImgPeakFinder
.
It gets the vector of peaks for the source
and key
, loops over all founded peaks and counts the number of peaks above the thresholds threshold_peak
and threshold_total
. If the filterIsOn
selection_mode
is "on" ("true" or "yes" state) SELECTION_ON" and the number of found peaks exceeds the n_peaks_min
the event is passed for further analysis/processing,
the table of found peaks may be saved in file with prefix defined by the fname
parameter.
Module configuration parameters:
source
(default: "DetInfo()") – source of datakey
(default: "peaks") – key for input list of peaks, should be the same aspeaksKey
inImgPeakFinder
selection_mode
(default: "SELECTION_ON") – three possible options:- SELECTION_ON is a normal mode for selector,
- SELECTION_OFF selector is turned off, all events are passed,
- SELECTION_INV inversed mode for selector - selected events are discarded.
threshold_peak
(default: 0) – threshold on peak amplitudethreshold_total
(default: 0) – threshold on total peak intensity (in the matrix around peak)n_peaks_min
(default: 1) – minimal number of peaks above all thresholdsselection_mode
fname
(default: "SELECTION_ON") – SELECTION_ON / SELECTION_OFF / SELECTION_INVfile name prefix; by default the prefix is empty and file is not savedprint_bits
(default: 0) – filter verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - summary,
- +4 - peaks' info,
- +8 - event record,
- +16 - event ID.
Module ImgAlgos::SaveImageInFile
...
Overview
Content Tools