[FieldTrip] ft_freqstatistics error with a newer version.

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Fri Jul 8 09:05:06 CEST 2011


Dear Rodolphe,

I suspect you are using a single time-frequency bin in your statistics? Then it sounds like a singleton dimension issue to me. Could you generate some testdata and file a bug through the bugzilla website, uploading this testdata, as well as the code you used to generate the error?

Thanks,

Jan-Mathijs


On Jul 8, 2011, at 2:16 AM, Rodolphe Nenert wrote:

> Dear Fieldtrippers, 
> 
> i had a reshape error after downloading a recent version of fieldtrip (20110630) using freq_statistics:
> 
> ??? Error using ==> reshape
> Size vector must have at least two elements.
> 
> Error in ==> ft_freqstatistics at 230
> dat        = reshape(permute(dat, permutevec), reshapevec);% actually reshape the data
> 
> Error in ==> alpha_correl_behav at 97
>     [stat] = ft_freqstatistics(cfg, Power2{1,:}, Power4{1,:}, Power6{1,:});
> 
> 
> With this newer version i also noticed new messages, but it may not be linked: 
> "selection powspctrm along dimension 3
> selection powspctrmsem along dimension 3
> averaging powspctrm over time
> averaging powspctrmsem over time
> [...]
> " 
> 
> Thanks for any advice, 
> 
> Rodolphe
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Dr. J.M. (Jan-Mathijs) Schoffelen 
Donders Institute for Brain, Cognition and Behaviour, 
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: 0031-24-3614793





More information about the fieldtrip mailing list