Skip to main content

plan_filters

Function plan_filters 

Source
pub fn plan_filters(settings: &ChannelFilterSettings, fs: f64) -> FilterPlan
Expand description

Works out which filters run at a sample rate; filters that cannot run (too low a rate, a 10 Hz period that is not a whole number of samples, a cutoff at or above 0.45 × the rate) are left off. Same rules as planFilters in the webapp.