Open andyfaff opened 2 months ago
Adds the possibility to supply a Generator to the SumulateReflectivity.simulate method, allowing it to act reproducibly.
Generator
SumulateReflectivity.simulate
If the rng isn't supplied the default it to use the global np.random.RandomState singleton, which should allow back compatibility. Using the default RandomState object is not recommended usage.
np.random.RandomState
RandomState
Adds the possibility to supply a
Generator
to theSumulateReflectivity.simulate
method, allowing it to act reproducibly.