Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seed for random in SETools [BUG] #659

Open
aguinot opened this issue Oct 17, 2023 · 0 comments
Open

Seed for random in SETools [BUG] #659

aguinot opened this issue Oct 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@aguinot
Copy link
Contributor

aguinot commented Oct 17, 2023

In SETools there is the possibility to select randomly a subpart of a catalogue randomly. When this is done, the random generator is not seeded so we cannot reproduce the results.
This could have an impact on the PSF model (hopefully a small one). If the same exposure is processed twice, and we split the catalogue to have a training and validation set, there will not be the same for both processing. This results in two different PSF model for the same exposure.

A seed should be added in the config file or/and a way to generate a seed based on the exposure name to avoid this behavior.

@aguinot aguinot added the bug Something isn't working label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant