[FieldTrip] EMG data

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Thu Feb 3 16:09:16 CET 2011


Dear Holly

You may want to have a look at:

http://fieldtrip.fcdonders.nl/example/getting_started_with_reading_raw_eeg_or_meg_data?s 
[]=event

To me it sounds as if you have an incorrect specification of your cfg.

Good luck,

Jan-Mathijs


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  
> correctly?
>
> Thanks,
>
> Holly
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

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
Telephone: 0031-24-3614793

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110203/84cc0567/attachment-0002.html>


More information about the fieldtrip mailing list