Skip to content

Conversation

@oczoske
Copy link
Collaborator

@oczoske oczoske commented Jan 2, 2026

Setting a random seed leads to identical simulation results. This is sometimes useful but may lead to unwanted results, e.g. identical noise patterns when performing multiple observations of the same source. This PR changes !SIM.random.seed to None for those instruments that haven't had it already. Users still have the possibility to set a seed for their simulation, although documentation may not be adequate (currently restricted to https://scopesim.readthedocs.io/en/latest/5_liners/simulation_parameters.html, I think).

Closes #6

@oczoske oczoske self-assigned this Jan 2, 2026
@oczoske oczoske added the instrument definition Addition or modification of instrument YAMLs label Jan 2, 2026
Copy link
Contributor

@teutoburg teutoburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finally closing a 5 yr old issue 😃

I took the liberty to solve the merge conflict caused by (my) #299.

@oczoske oczoske merged commit 8623f10 into dev_master Jan 2, 2026
12 checks passed
@oczoske oczoske deleted the oc/default_to_no_seed branch January 2, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instrument definition Addition or modification of instrument YAMLs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set random seed to None by default

3 participants