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

Additional metallicity mass fraction conversions #315

Merged
merged 3 commits into from Jan 24, 2023

Conversation

jzuhone
Copy link
Contributor

@jzuhone jzuhone commented Nov 7, 2022

This PR introduces several other common values for the solar metallicity found in the literature as new metallicity units, e.g. "Zsun_angr", etc.

The default mass fraction in "Zsun" is still the one from Cloudy and has not been touched.

Explanatory documentation has been added.

@neutrinoceros
Copy link
Member

neutrinoceros commented Nov 7, 2022

For posterity this is a partial revival of #240

Copy link
Member

@neutrinoceros neutrinoceros left a comment

Choose a reason for hiding this comment

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

LGTM
leaving this open for a couple days in case @ngoldbaum would like to review this too

@jzuhone jzuhone assigned brittonsmith and unassigned brittonsmith Nov 7, 2022
@jzuhone
Copy link
Contributor Author

jzuhone commented Nov 14, 2022

@brittonsmith @ngoldbaum want to have a look at this?

@ngoldbaum
Copy link
Member

I don't have a strong opinion here. I find the four letter abbreviations a bit confusing, but if they'd make sense to a new user then they're fine. I was waiting on Britton to weigh in because I figured he'd have more domain knowledge to say if the chosen names and approach make sense.

@jzuhone
Copy link
Contributor Author

jzuhone commented Nov 16, 2022

@ngoldbaum FWIW they follow this convention used in the XSpec X-ray fitting package (and in pyXSIM): https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/node116.html

@jzuhone
Copy link
Contributor Author

jzuhone commented Jan 6, 2023

Could we get one more approval here? Either @brittonsmith or @ngoldbaum

Copy link
Member

@brittonsmith brittonsmith left a comment

Choose a reason for hiding this comment

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

Sorry this took me so long to look at. I think it looks great. Thanks for tracking down the references and values for the different versions. I'm happy to see this go in as is.

@neutrinoceros neutrinoceros merged commit 7cabc72 into yt-project:main Jan 24, 2023
@jzuhone jzuhone deleted the metallicity branch January 24, 2023 16:12
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.

None yet

4 participants