24 #include "cheetah/rfim/ampp/Config.h" 34 : utils::Config(
"rfim_ampp")
41 add(_bandpass_config);
48 void Config::add_options(OptionsDescriptionEasyInit& add_options)
51 (
"active", boost::program_options::value<bool>(&_active)->default_value(
false),
"use this algorithm for rfi clipping")
52 (
"channel_rejection_rms", boost::program_options::value<float>(&_cr_factor),
"specify the channel rejection factor for the algorithm")
53 (
"spectrum_rejection_rms", boost::program_options::value<float>(&_sr_factor),
"specify the spectrum rejection factor for the algorithm")
54 (
"max_history", boost::program_options::value<unsigned>(&_max_history)->default_value(_max_history),
"maximum number of samples to keep stats")
55 (
"zero_dm", boost::program_options::value<bool>(&_zero_dm)->default_value(_zero_dm),
"flatten the channel if RFI detected");
58 bool Config::active()
const 63 unsigned Config::max_history()
const 68 float Config::channel_rejection_rms()
const 73 float Config::spectrum_rejection_rms()
const 79 bool Config::zero_dm()
const 84 BandPassConfig
const& Config::bandpass()
const 86 return _bandpass_config;
90 BandPassConfig& Config::bandpass()
92 return _bandpass_config;
Some limits and constants for FLDO.