In file No file:

MultiRate multirate (const char* type, double fsample, double m1, double m2 = 1E-3, double atten = 80)

MultiRate designer function

Documentation

Designer function for a muli rate filer. The filter type is either "abs" or "rel" depending if the required resampling rate is specified realtive or absolute. For absolute rate specifications the first parameter is the desired sampling rate and the second parameter is the maximally allowed error. For a relative rate specifiaction the first parameter is the interpolation factor and the second parameter is the decimation factor (both are integer parameters). The third parameter is in both cases the required stop band attenuation.

Throws an invalid_argument exception, if an illegale argument is specified.

Returns:
multi rate filter
Parameters:
type - Multirate type
fsample - Input sampling frequency
m1 - First parameter (desired fS or interpolation factor)
m2 - Second parameter (error or decimation factor)
attn - Stopband attenuation

alphabetic index hierarchy of classes


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


generated by doc++