In file No file:

IIRFilter pole2 ( double fs, double f0, double Q, double gain = 1.0, const char* plane = "s", bool prewarp = true )

Make a complex pole pair

Documentation

Make a complex pole pair. Poles and zero can be specifed in the s-plane using units of rad/s (set plane to "s") or units of Hz ("f"). In both cases the frequency is expected to be POSITIVE. Alternativly, one can also specify normalized poles and zeros ("n"). Normalized poles and zeros are expected to have POSITIVE frequencies and their respective low and high frequency gains are set to 1---unless they are located a 0Hz. The default loaction is the s-plane. For the s-plane the formula is ["s"] or ["f"]. For a normalized complex pole pair ["n"] the formula is with .

Throws a runtime_error or invalid_argument exception, if an illegale argument is specified.

Returns:
IIRFilter
Parameters:
fs - Sampling frequency
f - Pole frequency.
Q - quality factor
g - gain
plane - location where poles/zeros are specified
prewarp - True for prewarping freqencies.

alphabetic index hierarchy of classes


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


generated by doc++