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

Add elements for I23 #10

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Add elements for I23 #10

merged 1 commit into from
Feb 6, 2025

Conversation

pblowey
Copy link
Collaborator

@pblowey pblowey commented Feb 6, 2025

I23 can go to lower energies (longer wavelengths) than the other MX beamlines, so measuring around lower energy absorption edges is possible. Consequently, I23 are interested in being able to fit lower energy edges in MCA spectra. Previously, these lower energy edges would get included in the fit by having these lower energy edges defined in the peaks section of the I23 config file at /dls_sw/i23/software/pymca/pymca_new.cfg and the normal list of MX edges would be appended by the pymca_fitter service.

In recent changes, this functionality was lost and instead, if peaks were defined in the config file, the fitter would only use those peaks and would not append more. Having peaks hard-coded into the config file has a weakness as the batch fitting function from the PyMCA module will not work if an edge that is higher than the photon energy is included. Therefore, instead of having the peaks in the config file, this change adds a list of I23 elements that will be appended to the config file, so long as the edges sufficiently lower than the beam energy.

This change will require the peaks in /dls_sw/i23/software/pymca/pymca_new.cfg to be removed to take effect.

@pblowey pblowey merged commit 41c5339 into main Feb 6, 2025
1 check passed
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.

1 participant