9 #ifndef _COMMONMODECALCULATORS_H_
10 #define _COMMONMODECALCULATORS_H_
24 typedef std::vector<Detector::pixel_t>
pixels_t;
int _minNbrPixels
mininmal number of pixels that should be present when calculating the mean
contains base class for all common mode calculators.
Detector::pixel_t operator()(Detector::frame_t::const_iterator pixel, size_t idx) const
the operation
MeanCalculator()
constructor
void loadSettings(CASSSettings &s)
load the settings of this calculator
Calculate the common mode by taking mean of pixel values.
void loadSettings(CASSSettings &s)
load the settings of this calculator
float pixel_t
define a pixel of the pixel detector
SimpleMeanCalculator()
constructor
size_t _nbrMaximumElementsToRemove
number of maximum elements to remove
std::vector< Detector::pixel_t > pixels_t
Detector::pixel_t operator()(Detector::frame_t::const_iterator pixel, size_t idx) const
the operation
size_t _nbrMinimumElementsToRemove
number of minimum elements to remove
size_t _minNbrPixels
mininmal number of pixels that should be present when calculating the mean
Calculate the common mode by taking mean of pixel values.
int16_t pixel
define a pixel
base class for all common mode calculators