Diff for "SpmAnalysis" - Meg Wiki
location: Diff for "SpmAnalysis"
Differences between revisions 11 and 12
Revision 11 as of 2007-05-17 20:41:28
Size: 1340
Editor: RikHenson
Comment:
Revision 12 as of 2007-05-17 20:43:02
Size: 1341
Editor: RikHenson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * First you will probably need to run your raw data through Max Filter, particularly if you 1) used Active Shielding during acquisition, 2) if you want to apply SSS to remove noise, 3) if you used continuous HPI. Max Filter can also downsample and convert the data into different datatypes.
 
 *
Next you will need to convert your *.FIF files into Matlab and SPM format. For those using SPM5 at the CBU, this is now an option on the SPM5 GUI "convert" button (when in "EEG" mode) (utilising the function spm_eeg_rdata_FIF306.m in /cbu_updates).
   * Note that Matlab will have memory problems if you try to read in data of more than approx 10mins (at 1kHz), so downsampling to ~200-300Hz during Max Filter may be necessary.
Then you can perform averaging, filtering and other preprocessing in SPM, as well as distributed source localisation.
 1. First you will probably need to run your raw data through Max Filter, particularly if you 1) used Active Shielding during acquisition, 2) if you want to apply SSS to remove noise, 3) if you used continuous HPI. Max Filter can also downsample and convert the data into different datatypes.
 1. Next you will need to convert your *.FIF files into Matlab and SPM format. For those using SPM5 at the CBU, this is now an option on the SPM5 GUI "convert" button (when in "EEG" mode) (utilising the function spm_eeg_rdata_FIF306.m in /cbu_updates). Then you can perform averaging, filtering and other preprocessing in SPM, as well as distributed source localisation.
Here is a batch script for doing steps 1+2 for FIF data on our machine: attachment:spm5_meg_batch_preproc.m
Line 9: Line 6:
Here is a batch script for doing this for FIF data on our machine: attachment:spm5_meg_batch_preproc.m (Note that Matlab will have memory problems if you try to read in data of more than approx 10mins (at 1kHz), so downsampling to ~200-300Hz during Max Filter may be necessary.)
Line 11: Line 8:
For a more detailed example of EEG/MEG analysis in SPm5, with proper step-by-step instructions via the GUI (though not on FIF data from our machine), see: http://www.mrc-cbu.cam.ac.uk/~rh01/analysis.html

For a more theoretical introduction to source localisation in SPM5, see these slides: attachment:spm5_meg_wiki.ppt
 * For a more detailed example of EEG/MEG analysis in SPm5, with proper step-by-step instructions via the GUI (though not on FIF data from our machine), see: http://www.mrc-cbu.cam.ac.uk/~rh01/analysis.html
 * For a more theoretical introduction to source localisation in SPM5, see these slides: attachment:spm5_meg_wiki.ppt

Analysis of MEG Data in SPM5

  1. First you will probably need to run your raw data through Max Filter, particularly if you 1) used Active Shielding during acquisition, 2) if you want to apply SSS to remove noise, 3) if you used continuous HPI. Max Filter can also downsample and convert the data into different datatypes.
  2. Next you will need to convert your *.FIF files into Matlab and SPM format. For those using SPM5 at the CBU, this is now an option on the SPM5 GUI "convert" button (when in "EEG" mode) (utilising the function spm_eeg_rdata_FIF306.m in /cbu_updates). Then you can perform averaging, filtering and other preprocessing in SPM, as well as distributed source localisation.

Here is a batch script for doing steps 1+2 for FIF data on our machine: attachment:spm5_meg_batch_preproc.m

(Note that Matlab will have memory problems if you try to read in data of more than approx 10mins (at 1kHz), so downsampling to ~200-300Hz during Max Filter may be necessary.)

  • For a more detailed example of EEG/MEG analysis in SPm5, with proper step-by-step instructions via the GUI (though not on FIF data from our machine), see: http://www.mrc-cbu.cam.ac.uk/~rh01/analysis.html

  • For a more theoretical introduction to source localisation in SPM5, see these slides: attachment:spm5_meg_wiki.ppt

To be continued...

CbuMeg: SpmAnalysis (last edited 2013-03-08 10:02:27 by localhost)