MNE Class Notes

These notes describe the setup of the laptops used for the MNE class. These notes complement the notes for the MultiModal course, which describes a course setup more generally.

CentOS config

useradd -d /home/nmrclass -s /bin/tcsh nmrclass

# exit if not an interactive shell
if ($?USER == 0 || $?prompt == 0) exit

alias dir "ls -alF"

# turn-off error beep
xset b off

#
# Freesurfer and FS-FAST
#
if ( -e /home/apps/freesurfer/SetUpFreeSurfer.csh ) then
  setenv FREESURFER_HOME /home/apps/freesurfer
  if ( -e /media/disk/buckner_data/tutorial_subjs ) then
    setenv TUTORIAL_DATA /media/disk/buckner_data/tutorial_subjs
    setenv SUBJECTS_DIR $TUTORIAL_DATA
  endif
  source $FREESURFER_HOME/SetUpFreeSurfer.csh
  if ( -e /media/disk/fsfast-tutorial ) then
    setenv FSFTUTDIR /media/disk/fsfast-tutorial
    echo "FSFTUTDIR         $FSFTUTDIR"
  endif
endif

#
# MATLAB
#
if ( -e /home/apps/matlab/bin ) then
  setenv PATH "/home/apps/matlab/bin":"$PATH"
endif

#
# MNE
#
if ( -e /media/disk/mne_sample_data ) then
  setenv MNE_DATA /media/disk/mne_sample_data
  echo ""
  echo "MNE sample data:"
  echo "MNE_DATA          $MNE_DATA"
endif