Closed mgrub closed 2 years ago
From v2.3.0 on it is now possible to call LSIIR with a new parameter return_rms=True
to receive an additional float, which specifies the root-mean-square, e.g.:
[…]
b, a, tau, Uab, rms = LSIIR(H, Nb, Na, f, Fs, return_rms=True)
Let us know what you think of it and if it works for you.
Is your feature request related to a problem? Please describe. LSIIR is able to print an rms-value if the verbose-flag is given. However, the value stays internal and is not available for later use.
Describe the solution you'd like Add a
return_rms
-flag to LSIIR to enable an additional return value. The default should bereturn_rms=False
, to keep backwards compatibility.Additional context Based on the rms-value, the output of multiple runs of LSIIR (e.g. with different coefficient lengths) can be compared automatically.