scipy.signal.

sosfreqz#

scipy.signal.sosfreqz(*args, **kwargs)[source]#

Compute the frequency response of a digital filter in SOS format (legacy).

Legacy

This function is considered legacy and will no longer receive updates. While we currently have no plans to remove it, we recommend that new code uses more modern alternatives instead. This function is an alias, provided for backward compatibility. New code should use the function scipy.signal.freqz_sos. This function became obsolete from version 1.15.0.

Notes

Array API Standard Support

sosfreqz has experimental support for Python Array API Standard compatible backends in addition to NumPy. Please consider testing these features by setting an environment variable SCIPY_ARRAY_API=1 and providing CuPy, PyTorch, JAX, or Dask arrays as array arguments. The following combinations of backend and device (or other capability) are supported.

Library

CPU

GPU

NumPy

n/a

CuPy

n/a

PyTorch

JAX

⚠️ no JIT

Dask

⚠️ computes graph

n/a

See Support for the array API standard for more information.