FW: Fieldtrip to extract source signal
Rajamoni Nadar, Sreenivasan (NIH/NIMH) [E]
rajamonis at MAIL.NIH.GOV
Mon Nov 23 21:34:41 CET 2009
Dr. Oostenveld,
Attached is the code that I used to extract single trial source time series from MEG dataset (CTF). It is giving the following error while calling the routine prepare_leadfield. Could you please let me know the way to fix it?
Thanks,
Vasan
%~~~~~~~~~~~~~~~ see the error message~~~~~~~~~~~~~~~
the input is timelock data with 273 channels and 300 timebins
reading headmodel from file '/gs1/users/rajamoni/MEG_ds/AEDTPJOU_nback_20050422_01-f.ds/default.hdm'
using gradiometers specified in the data
precomputing leadfields for efficient handling of multiple trials
reading headmodel from file '/gs1/users/rajamoni/MEG_ds/AEDTPJOU_nback_20050422_01-f.ds/default.hdm'
using gradiometers specified in the data
creating dipole grid based on user specified dipole positions
0 dipoles inside, 1 dipoles outside brain
computing leadfield
??? Reference to non-existent field 'type'.
Error in ==> prepare_leadfield at 133
if strcmp(vol.type, 'openmeeg')
Error in ==> sourceanalysis at 322
[grid, cfg] = prepare_leadfield(cfg, data);
----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20091123/6004850c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: single_trial_source_from_fieldtrip.m
Type: application/octet-stream
Size: 1486 bytes
Desc: single_trial_source_from_fieldtrip.m
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20091123/6004850c/attachment-0001.obj>
More information about the fieldtrip
mailing list