R/reproducible_ants.R
reproducible_ants.Rd
Set reproducible seeds and threads for ANTsR execution
reproducible_ants(seed = 1)
seed | will execute
|
---|
A list of `ANTS_RANDOM_SEED` and `ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS`
See https://github.com/ANTsX/ANTs/wiki/antsRegistration-reproducibility-issues for discussion.
reproducible_ants(1234)#> $ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS #> [1] 1 #> #> $ANTS_RANDOM_SEED #> [1] 1234 #>