410 likes | 542 Views
MNE Tools & Scripts. Karim Kassam. meg_average mne_simu meg_stc_morph ROI analysis in Excel custom MNE movies. MRI data. raw MEG data. (setup). fwd sol’n. meg average. inverse sol’n. mne_compute_mne. movie files. Real Data. Simulated Data. meg_stc_morph. Subject 1. Subject 2.
E N D
MNE Tools & Scripts Karim Kassam
meg_average • mne_simu • meg_stc_morph • ROI analysis in Excel • custom MNE movies
MRI data raw MEG data (setup) fwd sol’n meg average inverse sol’n mne_compute_mne movie files
Real Data Simulated Data
meg_stc_morph Subject 1 Subject 2 Subject 3
MRI data raw MEG data (setup) fwd sol’n meg average inverse sol’n mne_compute_mne movie files
Real Data Simulated Data
mne_simu • Simulate a source
mne_simu +
meg_stc_morph Subject 1 Subject 2 Subject 3
meg_stc_morph • how bad is it? • spatial problems • statistical problems • now infamous intersubject averager • there are some problems • it’s not that bad, at least qualitatively
Real Data Simulated Data
Spatial problems • mne_make_uniform_stc
, ... ROI analysis • avoid spatial problems
ROI analysis • avoid spatial problems
ROI analysis • avoid statistical problems ttest
ROI analysis • avoid statistical problems Arithmetic Average subtract condition in xplotter (task - control) noise normalize convert f-statistics to p-stats
ROI analysis • avoid statistical problems T Test calculate currents for main effects (task and control) generate ROI, perform ttest (ttest averaged over 50 ms)
ROI analysis • avoid statistical problems Arithmetic Average T Test
Subject 1 Subject 2 Subject 3
MNE Movies • EasyMEG does a great job of rendering movies • But sometimes for talks we may want to show more • Can use a combination of programs to make custom movies
MNE Movies • meg_snapshot_om make pictures • for every frame and every view • photoshop • adjust contrast and put frames together • matlab (showtime toolbox) • control timing and make movie
MNE Movies • meg_snapshot_om make pictures for viewname in “lat med ven” do meg_snapshot_om \ --frameopt “0 10 10 20 20 30 30 40 40 50 50 60 60 70 ...” done
MNE Movies • photoshop adjust contrast
MNE Movies • photoshop create frame
MNE Movies • matlab create movie
MNE Movies • matlab create movie
where to go for more info • Visual Basic in Excel http://www.engineering.usu.edu/cee/faculty/gurro/VBA&Excel.htm • mne_simu (type in command line for instructions) • mne_make_uniform_stc (type in command line for instructions)
where to go for more info • Movies: • meg_snapshot_om (will post) • AppleScript for Photoshop (will post) • showtime.mex for Matlab (quicktime movie maker) www.psychtoolbox.org/download
Moshe Bar Elissa Aminoff Jasmine Boshyan Mark Fenske Avniel Ghuman Nurit Gronau Irina Ostrovskaya Matti Hamalainen Ksenija Marinkovic Eric Halgren Brendan Cox Matt Cain Thomas Witzel Sari Levanen Seppo Ahlfors Steve Stufflebeam Daniel Goldenholz Dan Wehner thank you