Skip to content

Conversation

@sjgardiner
Copy link

Adjust the SpectralFunc class so that a missing spectral function can be optionally approximated by a spectral function for a different isotope of the same element. Enable this behavior in the AR25 tunes.

optionally approximated by a spectral function for a different isotope of
the same element. Enable this behavior in the AR25 tunes.
@sjgardiner sjgardiner requested a review from kjplows October 30, 2025 02:35
@sjgardiner sjgardiner self-assigned this Oct 30, 2025
@sjgardiner sjgardiner added the bug Something isn't working label Oct 30, 2025
Copy link

@kjplows kjplows left a comment

Choose a reason for hiding this comment

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

Can confirm that:
--> SpectralFunc asks the Ar40 data file to produce Ar39 when ApproxElements is enabled. (Testing with 13C, and 17O)
--> The key correctly enters fSpectralFunctionMap
--> Spline generation exits normally and splines are readable

Many thanks @sjgardiner !!

@kjplows
Copy link

kjplows commented Oct 30, 2025

To follow up, oxygen and carbon SF work well too :)

@sjgardiner sjgardiner merged commit 156a8a8 into v3_06_02_br Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants