From b5ab63bcf276ea74a72e71582dcf91d7412fab88 Mon Sep 17 00:00:00 2001 From: seqasim Date: Tue, 12 Nov 2024 11:02:29 -0500 Subject: [PATCH] fix freq dim in phase_slope_index_time --- mne_connectivity/effective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mne_connectivity/effective.py b/mne_connectivity/effective.py index 6edd36cf..a7a9eff2 100644 --- a/mne_connectivity/effective.py +++ b/mne_connectivity/effective.py @@ -383,7 +383,7 @@ def phase_slope_index_time(data, bands = list(zip(np.asarray((fmin,)).ravel(), np.asarray((fmax,)).ravel())) n_bands = len(bands) - freq_dim = -2 + freq_dim = -1 # allocate space for output out_shape = list(cohy.shape)