Package de.gsi.math.filter.iir
Class LayoutBase
- java.lang.Object
-
- de.gsi.math.filter.iir.LayoutBase
-
public class LayoutBase extends java.lang.ObjectDigital/analogue filter coefficient storage space organising the storage as PoleZeroPairs so that we have as always a 2nd order filter
-
-
Constructor Summary
Constructors Constructor Description LayoutBase(int numPoles)LayoutBase(PoleZeroPair... pairs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ComplexPair poles, ComplexPair zeros)voidadd(org.apache.commons.math3.complex.Complex pole, org.apache.commons.math3.complex.Complex zero)voidaddPoleZeroConjugatePairs(org.apache.commons.math3.complex.Complex pole, org.apache.commons.math3.complex.Complex zero)doublegetNormalGain()doublegetNormalW()intgetNumPoles()PoleZeroPairgetPair(int pairIndex)voidreset()voidsetNormal(double w, double g)
-
-
-
Constructor Detail
-
LayoutBase
public LayoutBase(int numPoles)
-
LayoutBase
public LayoutBase(PoleZeroPair... pairs)
-
-
Method Detail
-
add
public void add(org.apache.commons.math3.complex.Complex pole, org.apache.commons.math3.complex.Complex zero)
-
add
public void add(ComplexPair poles, ComplexPair zeros)
-
addPoleZeroConjugatePairs
public void addPoleZeroConjugatePairs(org.apache.commons.math3.complex.Complex pole, org.apache.commons.math3.complex.Complex zero)
-
getNormalGain
public double getNormalGain()
-
getNormalW
public double getNormalW()
-
getNumPoles
public int getNumPoles()
-
getPair
public PoleZeroPair getPair(int pairIndex)
-
reset
public void reset()
-
setNormal
public void setNormal(double w, double g)
-
-