public final class FIRFilter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FIRFilter.DataType
Enum for data types
|
static class |
FIRFilter.FilterType
Enum for filter types
|
| Constructor and Description |
|---|
FIRFilter(FIRFilter.FilterType filterType,
FIRFilter.DataType[] dataTypeArray,
List<Double> coeffs,
double samplingStep)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
compute(UnivariateVectorFunction f,
double x0)
Computes the filtered value of the given function at the given computation point.
|
int |
getNbPointsAfter()
Getter for the number of points after the computation date to be used by the filter.
|
int |
getNbPointsBefore()
Getter for the number of points before the computation date to be used by the filter.
|
double |
getSamplingStep()
Getter for sampling step of the filter.
|
public FIRFilter(FIRFilter.FilterType filterType, FIRFilter.DataType[] dataTypeArray, List<Double> coeffs, double samplingStep) throws PatriusException
filterType - FIR filter typedataTypeArray - data type to be filteredcoeffs - coefficients of the filter (in case of LINEAR filter, coefficients are symmetric so
only the half of
the coefficients plus one must be defined)samplingStep - filter sampling stepPatriusException - if the specified type of FIR filter is not currently implementedpublic int getNbPointsBefore()
public int getNbPointsAfter()
public double getSamplingStep()
public double[] compute(UnivariateVectorFunction f, double x0)
f - vectorial function to filterx0 - computation pointCopyright © 2025 CNES. All rights reserved.