Package de.gsi.math.filter.iir
Class Cascade
- java.lang.Object
-
- de.gsi.math.filter.iir.Cascade
-
- Direct Known Subclasses:
Bessel,Butterworth,ChebyshevI,ChebyshevII
public class Cascade extends java.lang.ObjectThe mother of all filters. It contains the coefficients of all filter stages as a sequence of 2nd order filters and the states of the 2nd order filters which also imply if it's direct form I or II
-
-
Constructor Summary
Constructors Constructor Description Cascade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyScale(double scale)doublefilter(double in)BiquadgetBiquad(int index)intgetNumBiquads()voidreset()org.apache.commons.math3.complex.Complexresponse(double normalizedFrequency)voidsetLayout(LayoutBase proto, int filterTypes)
-
-
-
Method Detail
-
applyScale
public void applyScale(double scale)
-
filter
public double filter(double in)
-
getBiquad
public Biquad getBiquad(int index)
-
getNumBiquads
public int getNumBiquads()
-
reset
public void reset()
-
response
public org.apache.commons.math3.complex.Complex response(double normalizedFrequency)
-
setLayout
public void setLayout(LayoutBase proto, int filterTypes)
-
-