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
Conversation
For posterity this is a partial revival of #240 |
There was a problem hiding this 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
@brittonsmith @ngoldbaum want to have a look at this? |
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. |
@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 |
Could we get one more approval here? Either @brittonsmith or @ngoldbaum |
There was a problem hiding this 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.
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.