-
sdr.Integrator(method: 'backward' | 'trapezoidal' | 'forward' =
'trapezoidal'
, streaming: bool =False
) Creates an integrating IIR filter.
- Parameters:¶
- method: 'backward' | 'trapezoidal' | 'forward' =
'trapezoidal'
¶ The integration method.
"backward"
: Rectangular integration with height \(x[n-1]\)."trapezoidal"
: Trapezoidal integration with heights \(x[n-1]\) and \(x[n]\)."forward"
: Rectangular integration with height \(x[n]\).
- streaming: bool =
False
¶ Indicates whether to use streaming mode. In streaming mode, previous inputs and outputs are preserved between calls to
__call__()
.
- method: 'backward' | 'trapezoidal' | 'forward' =
Examples
See the IIR filters example.