mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

all random code should use default_rng

Open drammock opened this issue 1 year ago • 0 comments

our minimum supported NumPy is 1.23, which has np.random.default_rng(). We should change all instances in our code to use that instead of legacy calls to randn() or RandomState()

drammock avatar Aug 09 '24 16:08 drammock