[FieldTrip] readCTFds

Stenner, Max-Philipp max-philipp.stenner at med.ovgu.de
Fri Dec 2 12:28:38 CET 2011


Hi Joern, 

thank you very much for your reply, the (rather trivial) problem turned out to be indeed that the path wasn't added correctly,

best
Max

________________________________________
Von: fieldtrip-bounces at donders.ru.nl [fieldtrip-bounces at donders.ru.nl]" im Auftrag von ""Jörn M. Horschig" [jm.horschig at donders.ru.nl]
Gesendet: Freitag, 2. Dezember 2011 10:03
Bis: Email discussion list for the FieldTrip project
Betreff: Re: [FieldTrip] readCTFds

Hi Max,

I usually encounter similar problems when CTF data is not fully saved,
i.e. aborted the saving and forgot to click on 'OK' in the next dialog
or something else went wrong. Maybe ther went something wrong when
downloading the data?
Since it says 0 bytes in dir, it could maybe also be that you something
more basic wrong. Just to be sure, you could check whether Subject01.ds
is a folder and whether it contains all the relevant files, and none of
these have size 0.

Best,
Jörn

On 12/1/2011 4:15 PM, Stenner, Max-Philipp wrote:
> Dear all,
>
> in addition to my email sent earlier today (see below) here's some information on the OS, fieldtrip and MatLab versions:
>
> Windows7
> Fieldtrip version 20111130 (20111129 caused the same error)
> Matlab R2011a
>
> Whereas readCTFds reports
>
> 'Data set error : size of meg4 file(s)
>             0 bytes (from dir command)
> 179071200 bytes (from res4 file)'
>
> a direct call to the dir command of the .meg4 file returns
>
> '      bytes: 179071208'
>
> for the number of trials ft_read_header('Subject01.ds') returns
>
> '        nTrials: -1'
>
> Thanks,
> best
> Max
>
> ________________________________________
> Von: fieldtrip-bounces at donders.ru.nl [fieldtrip-bounces at donders.ru.nl]" im Auftrag von"Stenner, Max-Philipp [max-philipp.stenner at med.ovgu.de]
> Gesendet: Donnerstag, 1. Dezember 2011 14:22
> Bis: fieldtrip at donders.ru.nl
> Betreff: [FieldTrip] readCTFds
>
> Dear fieldtrip users,
>
>
>
> as a beginner I am encountering a rather fundamental problem even when trying to read the tutorial data (Subject01.ds):
>
>
>
> ft_read_data reports
>
>
>
>     readCTFds: Data set error : size of meg4 file(s)
>             0 bytes (from dir command)
>     179071200 bytes (from res4 file)
>
>
>
> and Matlab adds index exceeding matrix dimension errors
>
>
>
> ft_read_hdr reports
>
>
>
>      nTrials = -1
>
>
>
> The same happens with my own CTF data.
>
>
>
> I would be very grateful for any help on this very basic problem
>
>
>
> thanks!
>
> Best
>
> Max
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip


--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip



More information about the fieldtrip mailing list