[FieldTrip] User-defined random seed in ft_componentanalysis (runica)

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Wed Jul 13 11:21:22 CEST 2016


Hi guys,

Thanks! And oops... I will update FT :-)

Cheers,
Stephen

On 11 July 2016 at 17:16, Holger Krause <
Holger.Krause at med.uni-duesseldorf.de> wrote:

> Am Montag, 11. Juli 2016, 15:39:54 schrieb Stephen Whitmarsh:
> > Hi there,
> >
> > I have a question about the use of the cfg.randomseed option in
> > ft_componentanalysis. I would like to be able to use the same seed over
> > different iterations of ft_componentanalysis, which should result in the
> > same output.
> >
> > Can anyone confirm this is actually the case? I cannot see how
> > cfg.randomseed is passed through to runica.m, and line 812 (runica.m)
> reads:
> >
> > rand('state',sum(100*clock));  % set the random number generator state to
> >                                % a position dependent on the system clock
>
> Hi Stephen,
>
> That's a known bug, which has been fixed last year (see
> http://bugzilla.fcdonders.nl/show_bug.cgi?id=2585). Should you need to
> stick
> to an older version of FT, it might be sufficient to disable the line you
> mentioned above. If I remember correctly, FT will handle setting the random
> seed elsewhere. (So there's no need to pass through 'cfg.randomseed'.)
>
> Best,
>
> Holger
>
> --
> Dr. rer. nat. Holger Krause
>  MEG-Labor
>                      Institut für klinische Neurowissenschaften
> http://www.uniklinik-duesseldorf.de/klinneurowiss        Uniklinik
> Düsseldorf
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160713/3ce6c8e3/attachment-0002.html>


More information about the fieldtrip mailing list