- MNE version: e.g. 0.24.0
- operating system: Ubuntu 18.04
from mne.connectivity import spectral_connectivity
spec_conn, freqs, times, n_epochs, n_tapers = spectral_connectivity(data=transf_window_data,
method='coh',
indices=([ch_idx]*8, range(8)),
sfreq=SAMPLING_FREQ,
# fmin=(1.0, 4.0, 7.5, 13.0, 16.0, 30.0),
# fmax=(4.0, 7.5, 13.0, 16.0, 30.0, 40.0),
fmin=1.0, fmax=40.0,
faverage=True, verbose=False)
I am running a code, however, it was using the spectral_connectivity which is from version 0.1 of mne_connectivity, how to run this code in the latest version of MNE, which function i should shoose?
Or how to install the mne connectivity version 0.1 in order to run this?