In file No file:

FIRFilter dFirW (int N, double Hz, const char* window, const char* type, double Flow, double Fhigh=0, double Ripple=0, double dF=0) throw(std::runtime_error)

Filter design from window function.

Documentation

Design a linear phase FIR filter using the window function technique. The windowing functions that may be used are "Rectangle", "Triangle", "Hamming", "Hanning", "Kaiser" or "Cheby". Filter types that may be designed are "LowPass", "HighPass", "BandPass" or "BandStop". N or dF will be inferred from the other parameters if omitted or set to zero in Kaiser and Chebyshev designs. The same is true of Ripple if it is omitted or set to zero in Chebyshev designs. The designed Filter coefficients replace the current coefficients. The Filter history is not affected.
Parameters:
N - Number of filter coefficients.
Hz - Filter sampling rate.
window - Type of window on which to base the design.
type - Type of filter.
Flow - Transition frequency of a low-pass or high-pass filter, or lower edge of a band-pass or band-stop filter.
Fhigh - Upper edge of a band-pass or band-stop filter.
Ripple - Desired attenuation for Kaiser filters or the desired pass-band ripple for Chebyshev filters (in dB).
dF - Transition band width in Chebyshev filters.

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++