[FieldTrip] (no subject)

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Thu Aug 13 18:49:59 CEST 2015


Hi Peter,

https://code.google.com/p/fieldtrip/source/browse/trunk/ft_clusterplot.m

My change was dated the 11th (see the above link). I believe that you just had the bad luck to have an FT copy that had a bug in it. I suggest to upgrade to the 20150812 version (just to be sure).
Best,
Jan-Mathijs



On Aug 13, 2015, at 5:54 PM, Peter Lyons <plyons at udel.edu<mailto:plyons at udel.edu>> wrote:

Hi Jan-Mathijs,

I believe you may be correct. The error I had received was from a recent Fieldtrip download (20150810). I ran my script again on an older version (20150522) I have installed on another computer and the plot came out great.

Thanks again for your help!

Peter

On Thu, Aug 13, 2015 at 8:13 AM, Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen at donders.ru.nl<mailto:jan.schoffelen at donders.ru.nl>> wrote:
Hi Peter,
I cannot reproduce your problem. Are you using the latest version of fieldtrip. I very recently fixed a bug in ft_clusterplot, which could well explain your problem. If you are actually using the most recent FT-version, then my change might have introduced a bug :o).

Best,
Jan-Mathijs

On Aug 12, 2015, at 10:35 PM, Peter Lyons <plyons at udel.edu<mailto:plyons at udel.edu>> wrote:

> Hello Everyone,
>
> I'm working on a cluster-based permutation analysis on time-frequency EEG data. I was able to successfully run the ft_freqstatistics function after computing the grand average (ft_freqgrandaverage) for my two independent groups.
>
> I am, however, struggling with viewing the topography of my cluster output using the ft_clusterplot function. I suspect the case may be that I am missing a time dimension in my data set based on this error message that I received:
>
> "Attempted to access stat.time(15); index out of bounds because numel(stat.time)=0.
>
> Error in ft_clusterplot (line 248)
>       time_perclus = [stat.time(ind_min) stat.time(ind_max)];"
>
>
> Is there a viable way to use the ft_clusterplot if the dimensions contained in my data set is "chan_freq"?
>
> Or, is there an alternative plotting function that would work just as well or better?
>
> I would greatly appreciate any assistance with this.
>
> Thank you!
>
> Peter
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip


_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

_______________________________________________
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/20150813/1c2aa46f/attachment-0002.html>


More information about the fieldtrip mailing list