[FieldTrip] ft_freqstatistics not working on mac
Nathan Weisz
nathanweisz at me.com
Mon Feb 11 07:21:41 CET 2019
i had the same issue … first i thought i may not have the image processing toolbox installed.
> Am 10.02.2019 um 23:58 schrieb Alexandre Chalard <alexandre.chalard at inserm.fr>:
>
> Dear all,
>
> When I try to perform an analysis with my PC with the following code :
>
> cfg.neighbours = ft_prepare_neighbours(cfg_neighb, DataP);
> cfg.channel = ROI;
> cfg.latency = [0 100];
> cfg.frequency = [13 30];
> cfg.method = 'montecarlo';
> cfg.statistic = 'ft_statfun_indepsamplesT';
> cfg.correctm = 'cluster';
> cfg.clusteralpha = 0.05;
> cfg.clusterstatistic = 'maxsum';
> cfg.minnbchan = 2;
> cfg.tail = 0;
> cfg.clustertail = 0;
> cfg.alpha = 0.025;
> cfg.numrandomization = 100;
> cfg.avgovertime = 'yes';
> cfg.avgoverfreq = 'yes';
>
> design = [];
> design(1:numel(PFiles)) = 1;
> design(end+1:end+numel(TFiles)) = 2;
>
> cfg.design = design;
> cfg.ivar = 1;
>
> stat = ft_freqstatistics(cfg,DataP,DataT);
>
> Everything is working, but when I try with my macbook pro, the function doesn’t work.
> The permutation progress take directly the value 100 on 100, and the matlab status is busy with no return and no possibility to break the code (ctrl-c), I need to close matlab to stop the execution.
>
> Does anyone have an idea or have the same problem?
>
> Kind regards,
>
> Alexandre Chalard
> --
> PhD student
>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip <https://mailman.science.ru.nl/mailman/listinfo/fieldtrip>
> https://doi.org/10.1371/journal.pcbi.1002202 <https://doi.org/10.1371/journal.pcbi.1002202>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190211/681e3ad1/attachment-0002.html>
More information about the fieldtrip
mailing list