Closed ojdf closed 2 years ago
Changed from using numpy.random.seed to numpy.random.default_rng(seed) , which creates a generator object that is used to generate the random numbers.
numpy.random.seed
numpy.random.default_rng(seed)
Passing a seed to an infinite phase screen now results in deterministic behaviour when add_rows() is called.
add_rows()
Changed from using
numpy.random.seed
tonumpy.random.default_rng(seed)
, which creates a generator object that is used to generate the random numbers.Passing a seed to an infinite phase screen now results in deterministic behaviour when
add_rows()
is called.