12 : m_max_freq(max_freq)
17 SigProc::LfFilter::~LfFilter()
25 cfg[
"max_freq"] = m_max_freq;
31 m_tau =
get(
cfg,
"tau",m_tau);
32 m_max_freq =
get(
cfg,
"max_freq",m_max_freq);
42 for (
size_t i=0; i!=m_wfs.size();i++){
43 double freq = i * 1.0 /
int(m_wfs.size()) * 2 * m_max_freq;
44 if (freq > m_max_freq)
45 freq = freq - 2*m_max_freq;
WIRECELL_FACTORY(LfFilter, WireCell::SigProc::LfFilter, WireCell::IFilterWaveform, WireCell::IConfigurable) using namespace WireCell
Json::Value Configuration
double lf_filter(double freq, double tau=0.02)