Error: checkdata at 381 This function requires raw data as input
Natalia Grion
grion at SISSA.IT
Fri May 7 16:28:12 CEST 2010
Sure. here are the settings,
cfgfreqan=[];
cfgfreqan.method= 'wltconvol';
cfgfreqan.output = 'pow';
cfgfreqan.channel = {'H_LFP_1'};
cfgfreqan.keeptrials = 'no';
cfgfreqan.foi = [4:0.1:12];
cfgfreqan.toi = [-2:0.010:2];
cfgfreqan.width = 5;
freqout=freqanalysis(cfgfreqan,data);
And the full matlab error message:
??? Error using ==> checkdata at 381
This function requires raw data as input.
Error in ==> freqanalysis at 165
data = checkdata(data, 'datatype', 'raw', 'feedback', 'yes', 'hasoffset',
'yes');
Error in ==> Spctrgrm_ThetaWlt_AllRats at 25
freqout=freqanalysis(cfgfreqan,data);
About appending data: I'm using appenddata function, which generate the
structure I wrote in the past mail.
Hope this info helps,
Natalia
> Hi Natalia,
>
> Could you post the cfg-settings you use when calling ft_freqanalysis and
> the full matlab error output? This will help us track down the cause of
> the error. Also, did you use ft_appenddata for appending your recordings
> or did you do it by hand?
>
> Best,
> Roemer
>
>
>
>
> On 5/7/2010 4:06 PM, Natalia Grion wrote:
>> Dear all,
>> I have this error when running freqanalysis:
>> ??? Error using ==> checkdata at 381
>> This function requires raw data as input.
>> My data comes from a preprocessing procedure where i just append daily
>> sessions with 8 channel lfp recordings and several trials from the same
>> subject) and it has this shape:
>>
>> hdr: [1x1 struct]
>> label: {8x1 cell}
>> trial: {1x349 cell}
>> time: {1x349 cell}
>> fsample: 2003
>> cfg: [1x1 struct]
>>
>> when i run checkdata alone I obtain the message i expect:
>> B = checkdata( data, 'datatype', 'raw', 'feedback', 'yes',
>> 'hasoffset','yes');
>> the input is raw data with 8 channels and 349 trials
>> This error message sounds odd to me as I never had this problem in the
>> past.
>> I changed to Matlab 2009a in a 64bit win system (Could this info help to
>> solve the problem?)
>> Any idea?
>> Thanks in advance.
>> Natalia
>>
>>
>>
>>
>> ----------------------------------------------------------------
>> SISSA Webmail https://webmail.sissa.it/
>> Powered by SquirrelMail http://www.squirrelmail.org/
>>
>> ----------------------------------
>> 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.
>>
>
> --
> Roemer van der Meij MSc
> Scientific Programmer& Data-Analyst
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognition
> P.O. Box 9104
> 6500 HE Nijmegen
> The Netherlands
> Tel: +31(0)24 3612631
> E-mail: r.vandermeij at donders.ru.nl
>
> ----------------------------------
> 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.
>
----------------------------------------------------------------
SISSA Webmail https://webmail.sissa.it/
Powered by SquirrelMail http://www.squirrelmail.org/
----------------------------------
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