Skip to content

Add MZR_PBOUNDS namedtuple.#128

Merged
nvillanova merged 3 commits into
mainfrom
bounds_param_coll
May 19, 2026
Merged

Add MZR_PBOUNDS namedtuple.#128
nvillanova merged 3 commits into
mainfrom
bounds_param_coll

Conversation

@nvillanova
Copy link
Copy Markdown
Collaborator

This PR includes a new namedtuple MZR_PBOUNDS that can be imported from dsps.metallicity.umzr.py.
It has the same structure as DEFAULT_MZR_PARAMS, but instead of storing the default scalar values, it stores tuples containing the lower and upper bounds for each parameter.
This is similar to this PR in diffstar.

Copy link
Copy Markdown
Collaborator

@aphearin aphearin left a comment

Choose a reason for hiding this comment

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

Nicely done!

@nvillanova nvillanova merged commit 9030ab5 into main May 19, 2026
5 checks passed
@nvillanova nvillanova deleted the bounds_param_coll branch May 19, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants