Synopsis
Return the RNG generator in use.
Syntax
get_rng()
Description
The return can be None, which means that the routines in `numpy.random` are used, and thus are affected by calls to `numpy.random.seed` , otherwise the supplied generator is used to create random numbers. See https://numpy.org/doc/stable/reference/random/legacy.html for more information.
Changes in CIAO
Added in CIAO 4.16
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- utilities
- set_rng