SpmAnalysis - Meg Wiki

Revision 7 as of 2007-05-16 21:43:29

Clear message
location: SpmAnalysis

Analysis of MEG Data in SPM5

First you will probably need to run your raw data through MaxFilter, 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. Maxfilter can also downsample and convert the data into different datatypes.

Next you will need to convert your *.FIF files into 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 currently have memory problems if you try to read in data of more than approx 10mins (at 1kHz), so downsampling to ~200-300Hz during MaxFilter may be necessary.

Then you can perform averaging, filtering and other preprocessing in SPM. For an example of this (though not on FIF data from our machine), see: http://www.mrc-cbu.cam.ac.uk/~rh01/analysis.html

For a batch script for doing this on FIF data on our machine, see here.

For an introduction, see these slides: attachment:spm5_meg_wiki.ppt

To be continued...