SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.signal.cmplx_sort

scipy.signal.cmplx_sort(p)[source]

Sort roots based on magnitude.

Parameters:

p : array_like

The roots to sort, as a 1-D array.

Returns:

p_sorted : ndarray

Sorted roots.

indx : ndarray

Array of indices needed to sort the input p.

Previous topic

scipy.signal.cheb2ap

Next topic

scipy.signal.ellipap