[FieldTrip] Setting up MNE

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Nov 16 14:33:17 CET 2011

Hello Vitória,

it's probably more relevant to ask your question about MNE on the MNE
mailing list:


you can also find the MNE manual and tutorials online:



disclaimer : I am one of the MNE developers.

Alexandre Gramfort, PhD
gramfort at nmr.mgh.harvard.edu
Dept. of Radiology MGH Martinos Center / Harvard Medical School

2011/11/16 Vitória Magalhães Piai <vitoria.piai at gmail.com>:
> Hi,
> I'm following the tutorial on MNE on the Wiki. I'm now at
> export MNE_ROOT=<MNE directory>
> cd $MNE_ROOT/bin
> . ./mne_setup_sh
> export SUBJECTS_DIR=<Subject directory>
> export SUBJECT=Subject01
> When creating the source space, I get the error "Could not find the MRI data
> directory ..."
> I now have to the same directory as I had it for Freesurfer a few steps
> later:   export SUBJECTS_DIR=<Subject directory>
> On another Wiki page, I found the following:
> MNE requires to set up the same environmental variables as FS. It is because
> MNE will look for the MRI data that is processed by FS (therefore, it will
> look for directories that are made by FS). Therefore, SUBJECTS_DIR
> environmental variable should refer to that directory where the anatomical
> data is (pre-processed by FS), and SUBJECT should refer to the sub-directory
> of SUBJECTS_DIR where the anatomical data is from the person whose data is
> analyzed.
> <MNE ANALYSIS DIR>/subjects/<subject's name>: contains the output from FS
> I thought I had it right but I'm a bit confused now. What does MNE need
> exactly? I can't really figure out where it goes wrong from the MNE tutorial
> either.
> Thanx a lot, Vitória
> --
> ** Please consider the environment - do you really need to print? **
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.

More information about the fieldtrip mailing list