Package Filters
Class ChebyWindow
java.lang.Object
Filters.ChebyWindow
Calculates a Chebychev window for use in FOR filter design.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ChebyWindow
public ChebyWindow()
-
-
Method Details
-
getWindow
public static double[] getWindow(int nPoint, double gamma) Calculate a Chebychev window function.When used in a filter, the filter will generally have an odd number of taps. This function will return an even number of window values. You should use the 0th to n-2th values, which will be symmetrical about a central value of 1.0.
- Parameters:
nPoint
- number of pointsgamma
- Gamma - typically 3, get 20dB * gamma attenuation in filter stop band- Returns:
- window function
-
acosh
public static double acosh(double x) Calculate acosh function. Returns NaN for input values invalid input: '<' 1- Parameters:
x
- input- Returns:
- cosh of values >= 1 or NaN
-