Skip to content

ENH: Move away from numpy legacy random number generator syntax #349

@jcapriot

Description

@jcapriot

Anywhere we are generating numbers using np.random.rand (or similar) We should allow the user to pass an argument for a generator.
It would be numpy.random.Generator, int, or None, (in the case of int or None, it would create a new generator with numpy.random.default_rng(seed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions