Difference between revisions of "MNE Python Tutorial 2021"

From MEG Core
Jump to navigation Jump to search
Line 3: Line 3:
 
   IF YOU DO NOT HAVE MINICONDA/ANACONDA INSTALLED -  have IT install miniconda under your user account
 
   IF YOU DO NOT HAVE MINICONDA/ANACONDA INSTALLED -  have IT install miniconda under your user account
 
    
 
    
   conda install -n base mamba -c conda-forge -y  
+
   conda install -n base mamba -c conda-forge -y
   conda create -n mne
+
   mamba create -n mne conda-forge::mne main::pip main:jupyter -y
 +
 
 
   conda activate mne
 
   conda activate mne
  mamba install -c conda-forge mne -y
 
  mamba install jupyter pip -y
 
 
  # For a faster install of the
 
  
 
=Download the sample data=
 
=Download the sample data=

Revision as of 12:18, 24 September 2021

Steps to prepare prior to tutorial

Prepare python environment

 IF YOU DO NOT HAVE MINICONDA/ANACONDA INSTALLED -  have IT install miniconda under your user account
 
 conda install -n base mamba -c conda-forge -y  
 mamba create -n mne conda-forge::mne main::pip main:jupyter -y
 conda activate mne

Download the sample data

 scp <USERNAME>@helix.nih.gov:/data/NIMH_scratch/mne_tutorial/mne_tutorial.tar.gz <NEW PATH>
 cd <NEW PATH>
 tar -xvf mne_tutorial.tar.gz

Start Jupyter Notebook

 cd <NEW PATH>/nimh_tutorial_data
 jupyter notebook mne_tutorial_10_01_21.ipynb