No subject

J.M. Schoffelen Jan.Schoffelen at FCDONDERS.RU.NL
Thu Feb 10 17:59:55 CET 2005


Ooops, my fault!

 

The line should go like this:

 

data = read_fcdc_data('*.meg4',hdr,2,100,1);

 

In other words, the first input argument should be the name of the datafile
you'd like to be dealt with (of course corresponding with the headerfile).

 

My apologies.

 

Jan-Mathijs

  _____  

From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Virginie.van.Wassenhove at MRSC.UCSF.EDU
Sent: Thursday, February 10, 2005 5:45 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: Re: [FIELDTRIP]

 


Thank you for your prompt response!
Now for the sanity check...these commands don't seem to work either.

Here is what I get:
-------------------------

>> hdr = read_fcdc_header('filename.res4');
>> data - read_fcdc_data(hdr,2,100,1);
??? Error using  ==> sprintf
Function is not defined for 'struct' inputs.

Error in ==> fieldtrip-0.9.5/private/filetype at 275
 warning(sprintf('could not determine filetype of %s', filename));

Error in ==> read_fcdc_data at 79
if filetype(datafile, 'ctf_ds')

-------------------------

I tried this on raw continuous and raw epoched data. Both returned the same
error.
Does that call for a routine change?

-vv



At 08:26 AM 2/10/2005, J.M. Schoffelen wrote:



--> 

Dear Virginie,

 

Welcome to the fieldtrip-community!

 

A first sanity check to test whether fieldtrip is capable of handling your
data might be the following:

 

hdr = read_fcdc_header(*.res4); (with * being the name of your file.

data = read_fcdc_data(hdr,2,100,1); (which should read in sample 2 until 100
of the first channel in your data)

 

If this really does not work, that might mean that the CTF-software you use
to record your data is not compatible with the routines 

we are using to read in the data.

 

Yours,

 

Jan-Mathijs

 

 

 

 

 

  _____  

From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Virginie.van.Wassenhove at MRSC.UCSF.EDU
Sent: Thursday, February 10, 2005 4:37 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP]

 

Hello Fieldtripers!

I am new to Fieldtrip, and I am experiencing some issues trying to read the
CTF dataset into matlab. 
I tried the command lines that were suggested in previous threads without
success.

I would welcome any help/suggestions...
Thank you! 

- Virginie


Virginie.van.Wassenhove at radiology.ucsf.edu 

vvw at mrsc.ucsf.edu 

http://itsa.ucsf.edu/~vvanwass/welcome.htm 

----------------------------------------------------------------------------


Virginie van Wassenhove, Ph.D. - Post-Doctoral Scholar 

University of California, San Francisco (UCSF) 

Biomagnetic Imaging Lab, Magnetic Source Imaging 

Department of Radiology 

513 Parnassus Avenue, Room 359 (S-362) Box # 0628 

San Francisco, CA  94143-0628 

----------------------------------------------------------------------------


Office: 415/476-0190    

Lab:    415/476-6888 

Fax:    415/502-4302 

----------------------------------------------------------------------------


Virginie.van.Wassenhove at radiology.ucsf.edu 

vvw at mrsc.ucsf.edu 

http://itsa.ucsf.edu/~vvanwass/welcome.htm 

----------------------------------------------------------------------------


Virginie van Wassenhove, Ph.D. - Post-Doctoral Scholar 

University of California, San Francisco (UCSF) 

Biomagnetic Imaging Lab, Magnetic Source Imaging 

Department of Radiology 

513 Parnassus Avenue, Room 359 (S-362) Box # 0628 

San Francisco, CA  94143-0628 

----------------------------------------------------------------------------


Office: 415/476-0190     

Lab:    415/476-6888 

Fax:    415/502-4302 

----------------------------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20050210/1da9123a/attachment-0001.html>


More information about the fieldtrip mailing list