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

EdgeEnergy shell is invalid #215

Closed
bbazi opened this issue Nov 30, 2022 · 2 comments
Closed

EdgeEnergy shell is invalid #215

bbazi opened this issue Nov 30, 2022 · 2 comments

Comments

@bbazi
Copy link

bbazi commented Nov 30, 2022

Hi Tom,

When calculating the absorption edge energies for specific elements I got an error for Z=26 (Fe), I am going through all the shells as indicated in the xmimsimdata file.
Fe should contain 10 shells but when I call xraylib.EdgeEnergy(26, 9) for the last shell, the error says this last shell is invalid.
Do you perhaps see what's going on?

Cheers, Benjamin

edgeenergy error

@tschoonj
Copy link
Owner

This is because there are no edge energies available for Fe's N1 shell, even though it is occupied. There is Compton profile data available for that shell though, which is reflected in the XMI-MSIM data file.

@bbazi
Copy link
Author

bbazi commented Dec 30, 2022

Thanks for the answer.
Best, Benjamin

@bbazi bbazi closed this as completed Dec 30, 2022
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

No branches or pull requests

2 participants