highPass method
void
highPass(])
Butterworth High-pass filter.
Params:
- order - Filter order (ideally only even orders)
- sampleRate - Sampling rate of the system
- cutoffFrequency - Cutoff of the system
- directFormType - The filter topology. Default direct_form_II
Implementation
void highPass(int order, double sampleRate, double cutoffFrequency,
[int directFormType = DirectFormAbstract.direct_form_II]) {
_AnalogLowPass analogProto = _AnalogLowPass(order);
analogProto.design();
LayoutBase digitalProto = LayoutBase(order);
HighPassTransform(cutoffFrequency / sampleRate, digitalProto, analogProto);
setLayout(digitalProto, directFormType);
}