This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / signal / _spline_filters / symiirorder1

function

scipy.signal._spline_filters:symiirorder1

source: build-install/usr/lib/python3.14/site-packages/scipy/signal/_spline_filters.py:695

Signature

def symiirorder1(signal, c0, z1, precision = -1.0)

Summary

Implement a smoothing IIR filter with mirror-symmetric boundary conditions using a cascade of first-order sections.

Extended Summary

The second section uses a reversed sequence. This implements a system with the following transfer function and mirror-symmetric boundary conditions

                c0
H(z) = ---------------------
        (1-z1/z) (1 - z1 z)

The resulting signal will have mirror symmetric boundary conditions as well.

Parameters

signal : ndarray

The input signal. If 2D, then the filter will be applied in a batched fashion across the last axis.

c0, z1 : scalar

Parameters in the transfer function.

precision : float, optional

Specifies the precision for calculating initial conditions of the recursive filter based on mirror-symmetric input.

Returns

output : ndarray

The filtered signal.

Aliases

  • scipy.signal.symiirorder1