usnistgov / mass

Microcalorimeter pulse-analysis software
MIT License
6 stars 0 forks source link

Use new `numpy.random.Generator` interface #244

Closed joefowler closed 1 year ago

joefowler commented 1 year ago

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).


As of numpy 1.17 (see docs) in mid-2019, there’s a new interface for random numbers, numpy.random.Generator. We should use it. It is faster and has better randomness properties.

joefowler commented 1 year ago

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).


Finish switch to new numpy RPG API

Fixes #244