rng#

dageo.utils.rng(random=None)[source]#

Module-wide Random Number Generator.

Instantiate a random number generator.

Parameters:
random{None, int, np.random.Generator}, default: None
Returns:
rngrandom number generator

A numpy.random.Generator instance.