[FieldTrip] Convert .mat to .ds

Herring, J.D. (Jim) j.herring at donders.ru.nl
Thu Aug 20 17:05:30 CEST 2015


Dear Daphne,

If you are trying to read your own data format into fieldtrip, perhaps you should have a look at this page: http://www.fieldtriptoolbox.org/faq/how_can_i_import_my_own_dataformat

It would be easier to transform your data format to be used in Fieldtrip than to first convert it to a CTF format and then read it into Fieldtrip.

Best,

Jim

From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Daphné Bertrand-Dubois
Sent: donderdag 20 augustus 2015 16:14
To: FieldTrip discussion list
Subject: Re: [FieldTrip] Convert .mat to .ds

Thank you!

It was my error : I downloaded an older version, the one on the top of the list!

I am a little bit confused, it looks like if I need to put .ds as an input file. I just have .mat times-series that doesn't come from CTF so I cannot use readCTFds.m. Would it be possible to convert .mat times-series (nSensor x ntimes-series) to .ds?

Best,

Daphné

________________________________
From: j.herring at donders.ru.nl<mailto:j.herring at donders.ru.nl>
To: fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>
Date: Thu, 20 Aug 2015 07:37:20 +0000
Subject: Re: [FieldTrip] Convert .mat to .ds
Dear Daphne,

I have checked for you and the newest available version of fieldtrip (also fieldtrip-lite) includes writeCTFds.m in the folder 'fieldtrip\external\ctf\'. I have also checked a version from 2010 and it was there back then as well.

Best,

Jim

From: fieldtrip-bounces at science.ru.nl<mailto:fieldtrip-bounces at science.ru.nl> [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Daphné Bertrand-Dubois
Sent: woensdag 19 augustus 2015 17:19
To: fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>
Subject: [FieldTrip] Convert .mat to .ds

Hi,

I have data (from the MEG at ITAB) that cannot be process by fieldtrip. Howerver, we have convert them into .mat file and I would like them to be in .ds format so I can process the data.

I read this message:

" Hello z.imane



To convert .mat to .ds, try using the function writeCTFds.m located in the

fieldtrip folder /fieldtrip/external/ctf/



Best

Bankim Subhash Chander "

But I did not find the "external" folder with the function writeCTFd.m inside. Maybe it is because I have the new version?

Best regards,

Daphné

_______________________________________________ fieldtrip mailing list fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150820/27bc9e14/attachment.html>


More information about the fieldtrip mailing list