In file No file:

IIRFilter sos (double fs, int nba, const double* ba, const char* format = "s")

Make a filter from second order sections

Documentation

Make a IIR filter from a list of second order sections. If the format is 's' (standard), the coefficents are ordered like:
 gain, b1_1, b2_1, a1_1, a2_1, b1_2, b2_2, a1_2, a2_2,... $$
whereas for the the format 'o' (online) the order is
$$ gain, a1_1, a2_1, b1_1, b2_1, a1_2, a2_2, b1_2, b2_2,... $$
The number of coefficients must be 4 times the number of second order
sections plus one.

Throws a runtime_error or invalid_argument exception, if an illegale 
arguments are specified.



Returns:
IIRFilter
Parameters:
fs - Sampling frequency
nba - Number of coefficients
ba - List of coefficients
format - Coefficient format

alphabetic index hierarchy of classes


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


generated by doc++