Return (z,p,k) for Nth-order Chebyshev type II analog lowpass filter.
The returned filter prototype has attenuation of at least rs decibels
in the stopband.
The filter’s angular (e.g. rad/s) cutoff frequency is normalized to 1,
defined as the point at which the attenuation first reaches rs.
Parameters:
N : int
The order of the filter
rs : float
The attenuation in the stopband
xp : array_namespace, optional
Optional array namespace.
Should be compatible with the array API standard, or supported by array-api-compat.
Default: numpy
device : any
optional device specification for output. Should match one of the
supported device specification in xp.
Returns:
z : ndarray[complex128]
Zeros of the transfer function.
p : ndarray[complex128]
Poles of the transfer function.
k : float
Gain of the transfer function.
Notes
Array API Standard Support
cheb2ap 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.