pyprep icon indicating copy to clipboard operation
pyprep copied to clipboard

Move towards `np.random.default_rng`

Open sappelhoff opened this issue 1 year ago • 0 comments

We are still using numpy's old random API in many places. It would be good to migrate to the recommended np.random.default_rng.

This might turn out to be difficult, given our many tests that need to remain compatible with matlab, etc.

xrefs:

  • https://github.com/a-hurst/matprep_artifacts/tree/master
  • https://github.com/mne-tools/mne-python/issues/12780

cc @a-hurst

sappelhoff avatar Aug 13 '24 08:08 sappelhoff