reading EGI data

Giovanni Piantoni g.piantoni at NIN.KNAW.NL
Fri Apr 16 18:09:23 CEST 2010


Dear all,

I get this incredible error when I try to read EGI data. If the first
data point is odd, it works well (EGI_data_odd.png), while if the
first data point is even, then the result doesn't make much sense
(EGI_data_even.png).
You can replicate it with this data:
http://bit.ly/cdqzZH

and the following code:

cfg = [];
cfg.dataset = 'EGIrecording.raw';
cfg.trialdef.triallength = Inf;
def = ft_definetrial(cfg);
data = ft_preprocessing(def);
plot(data.trial{1}(1,:)) % odd

def.trl(1) = 2;
data = ft_preprocessing(def);
plot(data.trial{1}(1,:)) % even

Does anybody have an idea on what's going on?

Thanks,
Gio

-------------------------------------------------------------------------------------
MATLAB Version 7.9.0.529 (R2009b)
Operating System: Linux 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12
04:38:19 UTC 2010 x86_64
Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java
HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------

--
Giovanni Piantoni, Ph.D. student
Dept. Sleep & Cognition
Netherlands Institute for Neuroscience
Meibergdreef 47
1105 BA Amsterdam (NL)

+31 (0)20 5665492
g.piantoni at nin.knaw.nl
www.nin.knaw.nl/research_groups/van_someren_group/

----------------------------------
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 --------------
A non-text attachment was scrubbed...
Name: EGI_data_odd.png
Type: image/png
Size: 4716 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100416/770fba8a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EGI_data_even.png
Type: image/png
Size: 2920 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100416/770fba8a/attachment-0003.png>


More information about the fieldtrip mailing list