cupyx.scipy.signal.lp2hp#

cupyx.scipy.signal.lp2hp(b, a, wo=1.0)[source]#

Transform a lowpass filter prototype to a highpass filter.

Return an analog high-pass filter with cutoff frequency wo from an analog low-pass filter prototype with unity cutoff frequency, in transfer function (‘ba’) representation.

Parameters:
  • b (array_like) – Numerator polynomial coefficients.

  • a (array_like) – Denominator polynomial coefficients.

  • wo (float) – Desired cutoff, as angular frequency (e.g., rad/s). Defaults to no change.

Returns:

  • b (array_like) – Numerator polynomial coefficients of the transformed high-pass filter.

  • a (array_like) – Denominator polynomial coefficients of the transformed high-pass filter.

Notes

This is derived from the s-plane substitution

\[s \rightarrow \frac{\omega_0}{s}\]

This maintains symmetry of the lowpass and highpass responses on a logarithmic scale.