pg_utils.numerics.utils.intermodal_separation

pg_utils.numerics.utils.intermodal_separation(eig_vals: ndarray, **opt_cluster) ndarray[source]

Calculate intermodal separation ([Boyd])

Parameters:
  • eig_vals (np.ndarray) – array of eigenvalues

  • **opt_cluster – keywords for clustering options, see cluster_modes

Note

The input eigenvalue array should be already “sorted” in some ways, so that clustering only occurs for adjacent eigenvalues.

[Boyd]

Boyd, Chebyshev and Fourier Spectral Methods.