- cupyx.scipy.signal.lfilter_zi(b, a)#
Construct initial conditions for lfilter for step response steady-state.
Compute an initial state zi for the lfilter function that corresponds to the steady state of the step response.
A typical use of this function is to set the initial state so that the output of the filter starts at the same value as the first element of the signal to be filtered.
b (array_like (1-D)) – The IIR filter coefficients. See lfilter for more information.
a (array_like (1-D)) – The IIR filter coefficients. See lfilter for more information.
zi – The initial state for the filter.
- Return type: