[FieldTrip] EMG data
jan.schoffelen at donders.ru.nl
Thu Feb 3 16:09:16 CET 2011
You may want to have a look at:
To me it sounds as if you have an incorrect specification of your cfg.
On Feb 3, 2011, at 3:25 PM, Holly Rossiter wrote:
> Dear Fieldtrip,
> I am new to fieldtrip and am using it to look at MEG-EMG coherence.
> I am trying to load in my EMG data which is in a separate data file
> to the MEG. It is made up of 3 files (.eeg, .vhdr and .vmrk). I am
> trying to follow the coherence tutorial I previously downloaded from
> your website but I’m not able to define trials despite there being
> triggers present.
> Here are my attempts to load in the data with the following error...
> cfg = ;
> cfg.trialfun = 'trialfun_general';
> cfg.trialdef.eventtype = '1';
> cfg.trialdef.eventvalue = [1 1];
> cfg.trialdef.prestim = 1;
> cfg.trialdef.poststim = 2;
> cfg.dataset = 'sf_EMG.eeg';
> cfg = ft_definetrial(cfg);
> evaluating trialfunction 'trialfun_general'
> reading the events from 'sf_EMG.vhdr'
> ??? Error using ==> ft_definetrial at 136
> no trials were defined, see DEFINETRIAL for help
> What do you suggest is the problem? Is it not reading the triggers
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
Dr. J.M. (Jan-Mathijs) Schoffelen
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip