public class Butterworth extends Cascade
| Constructor and Description |
|---|
Butterworth() |
| Modifier and Type | Method and Description |
|---|---|
void |
bandPass(int order,
double sampleRate,
double centerFrequency,
double widthFrequency)
Band-pass filter with default topology
|
void |
bandPass(int order,
double sampleRate,
double centerFrequency,
double widthFrequency,
int directFormType)
Band-pass filter with custom topology
|
void |
bandStop(int order,
double sampleRate,
double centerFrequency,
double widthFrequency)
Band-stop filter with default topology
|
void |
bandStop(int order,
double sampleRate,
double centerFrequency,
double widthFrequency,
int directFormType)
Band-stop filter with custom topology
|
void |
highPass(int order,
double sampleRate,
double cutoffFrequency)
High-pass filter with default filter topology
|
void |
highPass(int order,
double sampleRate,
double cutoffFrequency,
int directFormType)
High-pass filter with custom topology
|
void |
lowPass(int order,
double sampleRate,
double cutoffFrequency)
Butterworth Low-pass filter with default topology
|
void |
lowPass(int order,
double sampleRate,
double cutoffFrequency,
int directFormType)
Butterworth Low-pass filter with custom topology
|
applyScale, filter, getBiquad, getNumBiquads, reset, response, setLayoutpublic void bandPass(int order,
double sampleRate,
double centerFrequency,
double widthFrequency)
order - filter order (actual order is twice)sampleRate - sampling rate of the systemcenterFrequency - centre frequencywidthFrequency - width of the notchpublic void bandPass(int order,
double sampleRate,
double centerFrequency,
double widthFrequency,
int directFormType)
order - filter order (actual order is twice)sampleRate - sampling rate of the systemcenterFrequency - centre frequencywidthFrequency - width of the notchdirectFormType - filter topologypublic void bandStop(int order,
double sampleRate,
double centerFrequency,
double widthFrequency)
order - filter order (actual order is twice)sampleRate - sampling rate of the systemcenterFrequency - centre frequencywidthFrequency - width of the notchpublic void bandStop(int order,
double sampleRate,
double centerFrequency,
double widthFrequency,
int directFormType)
order - filter order (actual order is twice)sampleRate - sampling rate of the systemcenterFrequency - centre frequencywidthFrequency - width of the notchdirectFormType - filter topologypublic void highPass(int order,
double sampleRate,
double cutoffFrequency)
order - filter order (ideally only even orders)sampleRate - sampling rate of the systemcutoffFrequency - cutoff of the systempublic void highPass(int order,
double sampleRate,
double cutoffFrequency,
int directFormType)
order - filter order (ideally only even orders)sampleRate - sSampling rate of the systemcutoffFrequency - cutoff of the systemdirectFormType - filter topology. See DirectFormAbstract.public void lowPass(int order,
double sampleRate,
double cutoffFrequency)
order - the order of the filtersampleRate - sampling rate of the systemcutoffFrequency - cutoff frequencypublic void lowPass(int order,
double sampleRate,
double cutoffFrequency,
int directFormType)
order - the order of the filtersampleRate - sampling rate of the systemcutoffFrequency - cutoff frequencydirectFormType - filter topology. This is either DirectFormAbstract.DIRECT_FORM_I or DIRECT_FORM_IICopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.