spectral_connectivity.minimum_phase_decomposition.minimum_phase_decomposition#

minimum_phase_decomposition(cross_spectral_matrix, tolerance=1e-08, max_iterations=60)[source]#

Find a minimum phase matrix square root of the cross spectral density using the Wilson algorithm.

Parameters:
  • cross_spectral_matrix (array, shape (n_time_samples, ...,) – n_fft_samples, n_signals, n_signals)

  • tolerance (float) – The maximum difference between guesses.

  • max_iterations (int) – The maximum number of iterations for the algorithm to converge.

Returns:

minimum_phase_factor – n_fft_samples, n_signals,

n_signals)

The square root of the cross_spectral_matrix where all the poles are inside the unit circle (minimum phase).

Return type:

array, shape (n_time_samples, …,