response¶
- response(dx, b, a=1, /, n=1000, simple=False)[source]¶
Calculate the response function given the a and b coefficients for some analog filter. For details, see Dennis Hartmann’s objective analysis course notes.
- Parameters
dx (int or array-like) – The step size.
b (array-like) – The window
b
coefficients.a (array-like) – The window
a
coefficients.
Notes
The response function formula can be depicted as follows:
jw -jw -jmw jw B(e) b[0] + b[1]e + .... + b[m]e H(e) = ------ = ---------------------------------- jw -jw -jnw A(e) a[0] + a[1]e + .... + a[n]e