pyhctsa.robust.bf_random_seed

pyhctsa.robust.bf_random_seed(random_seed=None)

The integer seed (for bf_random()) that a random_seed input stands for (hctsa BF_RandomSeed).

'default' or None give the fixed seed 0; a number gives that seed (rounded and made non-negative: mod(round(abs(s)), 4e9)); 'none' gives a seed drawn from NumPy’s global random stream (so repeated calls differ).

Port of hctsa’s BF_RandomSeed, Copyright (C) Ben D. Fulcher, relicensed by the author under GPL-3.0-or-later for pyhctsa.

Return type:

int