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

Improve fitting of the BTS model in fit_IsothermalHolding() #561

Merged
merged 4 commits into from
Feb 14, 2025

Conversation

mcol
Copy link
Contributor

@mcol mcol commented Feb 13, 2025

By default this tests 1000 random values for the s parameter instead of optimizing it, as @RLumSK found it to be practically the only way to get this model to fit.

For tests to run in a reasonable time I've added a "hidden" argument num_s_values_bts to be able to change the default from 1000 values to something much smaller. We could expose that later.

mcol added 4 commits February 13, 2025 15:30
This tests 1000 random values for the s parameter instead of optimizing it,
as that was found to be practically the only way to get this model to fit.
This is at the moment not exposed, but it's already very helpful to make
the analyse_Thermochronometry test for the BTS model run in a reasonable
time (a few seconds rather than several minutes).
@RLumSK RLumSK merged commit dd8d91d into master Feb 14, 2025
9 checks passed
@mcol mcol deleted the better_bts branch February 14, 2025 08:11
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.

2 participants