[FieldTrip] import .cnt file

Stephen Politzer-Ahles politzerahless at gmail.com
Tue Oct 9 16:06:56 CEST 2012


Hi Jose,

Can you show the code you are using (i.e., the whole cfg that you set up
before using  ft_definetrial() ? It should look something like the example
at
http://fieldtrip.fcdonders.nl/tutorial/preprocessing#reading_and_preprocessing_the_interesting_trials

Best,
Steve Politzer-Ahles


Message: 2
> Date: Mon, 8 Oct 2012 19:43:39 -0400
> From: Jose Herrero <jose.herrero66 at gmail.com>
> To: fieldtrip at science.ru.nl
> Subject: [FieldTrip] import .cnt file
> Message-ID:
>         <CA+zL3bypOAoqvWgOr0H+j9OfTX-42=
> GZCDZSWdgDciYFm0vKEg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear FTrip users,
>
> matlab crashes when trying to import a .cnt data file using
> cfg=ft_definetrial(cfg).
>
> my system is 16 bits (at least loadcnt.m returns r.dataformat=='int16') so
> this is not the problem
>
> cfg=[];
> cfg.dataset='ab001002012.cnt'
> error in loadcnt.m (line 551) because nevents=0.125 such that
> ev2(nevents).stimtype=[] cannot exist!
> in line 464 the variable dat (50chan*14455000samples) reshapes to 50*1
> because r.ldnsamples=1....why?
>
> other question is about the type of file cfg.dataset gets. I only have one
> raw data file (e.g. 'ab001002012.cnt') while the others have already been
> filtered with eeglab (e.g. 'ab002002012 at m.cnt' for mua
> and 'ab001002012 at e.cnt' for lfp). however imputing these files gives me a
> similar error.
>
> any ideas?
> Jose H.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20121008/4c49ba3a/attachment-0001.html
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20121009/58f956c3/attachment-0001.html>


More information about the fieldtrip mailing list