Analysis with MNE
MNE 2.6 slides by Matti Hämäläinen
Some quick tips if you want to browse through your data
Type mne in a terminal window:
By default, MNE is set to /neurospin/local/mne
Matlab location is set to /neurospin/local/matlab/neurospin/local/mne/bin/mne added to PATH
Set your SUBJECTS_DIR and SUBJECT environment variables. For instance: export SUBJECTS_DIR=/neurospin/meg/meg_tmp/mystudy/sss/ export SUBJECT=NIPofmysubject
Now type:
mne_browse_raw --digtrig STI101
A gui interface will show up and you can from there load raw fif data files or average fif data files. At the bottom right corner, you can type in a trigger number for a quick and dirty averaging.
mne_process_raw --raw <myrwawdata> --digtrig 'STI101'
For each command you send to MNE specify in your line --digtrig 'STI101' to recognize your trigger line.
Typing mne_browse_raw --digtrig 'STI101' pops up the User Interface and should recognize your triggers
Typing mne_process_raw [options] can be used for script/batch analysis
e.g.to grand average data across multiple runs: mne_process_raw --raw myrun1_sss.fif --raw myrun2_sss.fif --filteroff --projoff --digtrig STI101 --ave myaverage_definition --gave gdav.fif
This command will grand average the conditions specified in your myaverage_definition across myrun1 and myrun2. The filter setting is off, no projections (e.g. from SSP) will be applied. The resulting fif file is gdav which contains all grand average conditions.