-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Breast tissue - NIST #95
Comments
Unfortunately not: if it's not available via https://physics.nist.gov/cgi-bin/Star/compos.pl, then it's not in xraylib. I am not sure what you are asking for: do you mean that for a given chemical formula, xraylib should fetch or calculate the density? Or is this only for compounds from the NIST catalog in xraylib? |
Thank you for your quick reply. An analog for compounds of |
I can see how this could be useful when combined with I don't really have time to write this right now... feel free to open a pull request. |
Would it be possible knowing the composition (https://physics.nist.gov/PhysRefData/XrayMassCoef/tab2.html) of a compound to use it inside xraylib? |
Well if you know the atomic numbers and weights of all constituent elements, then you can certainly produce the compound cross sections by looping over it. If you're asking if you can modify the internal xraylib tables with your own compositions, unfortunately that's not possible. |
Am I missing something or is there no way to access to NIST's breast tissue datas with the script?
I can't find anything under
xrl.GetCompoundDataNISTList()
relatable to this linkAt the same time would it be possible to add a way to automatically retrieve NIST's density for compounds?
Using python + version downloaded via conda-forge
The text was updated successfully, but these errors were encountered: