megplanar

Shennan Weiss sweiss at AECOM.YU.EDU
Sat Mar 27 01:24:21 CET 2010


Hi Michael and others,

Thank you for the help. When I try to load a ctf275 dataset using the
following commands (for example)

cfg = [];
cfg.dataset = 'trial1.ds';
data=preprocessing(cfg);

readCTFds: You are reading CTF data for use with a software-application
tool that is not manufactured by VSM MedTech Ltd. and has not received
marketing clearance for clinical applications.  If CTF MEG data are
processed by this tool, they should not be later employed for clinical
and/or diagnostic purposes.

??? Index exceeds matrix dimensions.

Error in ==> /fieldtrip-20100101/external/ctf/readCTFds.p>readHc at 599

Error in ==> /fieldtrip-20100101/external/ctf/readCTFds.p>readCTFds at 203

Error in ==> read_header at 404
    orig             = readCTFds(filename);

Error in ==> ft_preprocessing at 278
  hdr = read_header(cfg.headerfile, 'headerformat', cfg.headerformat);

Error in ==> preprocessing at 17
[varargout{1:nargout}] = funhandle(varargin{:});

However when I add

cfg.headerformat = 'ctf_old';
cfg.dataformat= 'ctf_old';

The complete file is loaded. Yet I have encountered numerous problems. For
example, when I try to run topoplot on the basis of the organization of
the data.grad structure it thinks the file has 151 channels....

Even when I open the ctf file in an updated version of dataeditor and
resave it after applying a filter for instance I still get the same error
message in Matlab.

-Shen

Any help would be wonderful. I really hope I can smoothly use the
fieldtrip package.

Thanks,
Shennan

> Hi Shennan,
>
> could you post the code to read in the data, and the specific error
> message you ge - that would be very helpful.
> Here are some more questions:
> Did you use the tools provided by ctf to read in the data?
> Did you read in only MEG channels (and not the refence ones etc.)?
> Did you try to plot or statistically analyze your megplanar data *before*
> using combineplanar (only after using combineplanar plotting and
> statitistcs are possible to my knowledge)?
>
> Michael
>
>
>
>
>
>
> -----Urspr√ɬľngliche Nachricht-----
> Von: Shennan Weiss
> Gesendet: Mar 25, 2010 11:48:43 PM
> An: FIELDTRIP at NIC.SURFNET.NL
> Betreff: [FIELDTRIP] megplanar
>
>>Hi again,
>>
>>I wanted to specify the error I am encountering with megplanar analyzing
>>CTF275 data. Note in preprocessing I had to set the read parameters to
>>ctf_old. The specific problem occurs in channelposition.m
>>
>>at the following lines
>>
>>used = any(abs(sens.tra)<0.5, 1);  % allow a little bit of rounding-off
>> error
>>sens.pnt = sens.pnt(used,:);
>>
>>the problem is that sens.tra that is equivalent to data.grad.tra and is a
>>273 x 574 array. While sens.pnt is a array of 543x3.
>>
>>Any help would be greatly appreciated.
>>
>>Thanks, Shennan
>>
>>----------------------------------
>>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.
>
> ----------------------------------
> 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.

----------------------------------
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.



More information about the fieldtrip mailing list