1. Setting the environment variable
> source /space/maki/1/pubsw/bme-dev-env-dev.csh
2. setup the macro of subjects' anatomy data
> setenv SUBJECTS_DIR XXXXXX
3. setup the subject's name (the one to be analyzed)
> setenv SUBJECT XXXX
4. Follow the instructions from MNE guide 3.4
Note:
1. To establish symbolic link: (for example)
> ln -s ./watershed/XXX.surf inner_skull.surf
2. To align the coordinate in mrilab (To use mrilab, always connect to maki.bm.ntu.edu.tw first)
> /neuro/bin/vue/mrilab &
%1%unpack MRI file
source /space/maki/1/pubsw/bme-dev-env-dev.csh
setenv SUBJECTS_DIR /space/home/guest/yy_data/subjects/
setenv SUBJECT ChengCH
cd yy_data
cd subjects
cd ChengCH
mkdir unpack_data
cd unpack_data
unpacksdcmdir -src $SUBJECTS_DIR$SUBJECT/ym -targ . -scanonly ./info
vi unpack.rule
unpacksdcmdir -src $SUBJECTS_DIR$SUBJECT/ym -targ . -cfg ./unpack.rule
mkdir mri
mkdir orig
cd orig
mri_convert $SUBJECTS_DIR$SUBJECT/unpack_data/3danat/003/COR-.info ./001.mgz
recon-all -subjid $SUBJECT -all
cd $SUBJECTS_DIR$SUBJECT/bem/
mne_setup_mri
mne_setup_source_space
mne_watershed_bem
ln -s ./watershed/$SUBJECT_inner_skull_surface inner_skull.surf
mne_setup_forward_model --surf --homog
vi bad.txt
mne_mark_bad_channels --bad bad.txt raw_Aud_simple_50ms_01.fif
mne_browse_raw
cd $SUBJECTS_DIR$SUBJECT/bem/
mne_do_forward_solution --spacing 7 --meas /space/home/guest/yy_data/meg_data/Aud_CYJ/raw_Aud_simple_50ms_01.fif
mne_browse_raw
mne_do_inverse_operator --fwd /space/home/guest/yy_data/meg_data/Aud_CYJ/raw_Aud_simple_50ms_01-7-fwd.fif --loose 0.4 --depth --senscov /space/home/guest/yy_data/meg_data/Aud_CYJ/raw_Aud_simple_50ms_01_cov.fif
範例:
source /space/maki/1/pubsw/bme-dev-env-dev.csh
cd yy_data
cd subjects
cd ChengCH
mkdir unpack_data
cd unpack_data
unpacksdcmdir -src /space/home/guest/yy_data/subjects/ChengCH/ym -targ . -scanonly ./info
vi unpack.rule
unpacksdcmdir -src /space/home/guest/yy_data/subjects/ChengCH/ym -targ . -cfg ./unpack.rule
%2% free surfer:
setenv SUBJECTS_DIR /space/home/guest/yy_data/subjects/
setenv SUBJECT ChengCH
mkdir mri
mkdir orig
cd orig
mri_convert /autofs/space/home/guest/yy_data/subjects/ChengCH/unpack_data/3danat/003/COR-.info ./001.mgz
recon-all -subjid $SUBJECT -all
沒有留言:
張貼留言