Skip to content

RNG is not seeded #32

@mfisherlevine

Description

@mfisherlevine

np.random.seed() is never called, nor is an RNG instantiated and passed around, leading to non-deterministic results for the same input.

e.g. from d568533 run python runExtractor.py --verbose a few times and see both very different run times and different RuntimeWarnings (especially in the Start ChromaticPSF1D polynomial fit... and Calibrating order 1 spectrum... stages), as well as different final results sometimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions