how to install version 0.1 for mne-connectivity?

  • 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?

Here is the install page:
https://mne.tools/mne-connectivity/stable/install.html

Activate your mne environment, then run the following:

#You can use mamba install (instead of conda install) if you have it.
conda install -c conda-forge mne-connectivity

There is also pip install instructions listed on the website if you want to go that way.

–Jeff

Hi Jstout211,
this is not working, because this is the installation for version 0.5, i want to install the older version which is version 0.1

It doesn’t look like that version is available through conda-forge.

pip install mne_connectivity==0.1

–Jeff