1 #include "cheetah/rfim/sum_threshold/Config.h" 7 namespace sum_threshold {
11 : cheetah::utils::Config(
"rfim_sum_threshold")
13 , _threshold_sizes{1, 2, 4, 6, 8, 16, 32, 64}
21 bool Config::active()
const 26 void Config::add_options(OptionsDescriptionEasyInit& add_options)
29 (
"active", boost::program_options::value<bool>(&_active)->default_value(
false),
"use this algorithm for rfi clipping")
30 (
"its_cutoff", boost::program_options::value<float>(&_its_cutoff_threshold)->default_value(6.0),
"median cutoff threshold")
31 (
"base_sensitivity", boost::program_options::value<float>(&_its_cutoff_threshold)->default_value(1.0),
"the sensitivity of the threshold to std deviation")
32 (
"window", boost::program_options::value<unsigned>(&_window)->default_value(0U),
"restrict area of data sum thresholding takes place (0=all data)");
35 std::vector<unsigned>
const& Config::thresholding_data_sizes()
const 37 return _threshold_sizes;
40 float Config::its_cutoff_threshold()
const 42 return _its_cutoff_threshold;
45 unsigned Config::window()
const {
49 float Config::base_sensitivity()
const 51 return _base_sensitivity;
Some limits and constants for FLDO.