Skip to content

Avoid extrapolation in NEB fitting#1255

Merged
esoteric-ephemera merged 1 commit intomaterialsproject:mainfrom
gpetretto:develop
Jul 7, 2025
Merged

Avoid extrapolation in NEB fitting#1255
esoteric-ephemera merged 1 commit intomaterialsproject:mainfrom
gpetretto:develop

Conversation

@gpetretto
Copy link
Copy Markdown
Contributor

While calculating the barrier for a NEB calculation based on a spline fit, the roots of the derivative may also be in a region outside the [0,1] interval and this may result in a much high barrier. For example one of the fits I got had this shape and the barrier value came from the outer peaks, while the NEB fitted data is of course only comprised in the [0,1] region:
fit

To fix this it seems enough to specify to avoid extrapolation.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.18%. Comparing base (56840ac) to head (0518ff7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1255   +/-   ##
=======================================
  Coverage   89.18%   89.18%           
=======================================
  Files         151      151           
  Lines       15735    15735           
=======================================
  Hits        14034    14034           
  Misses       1701     1701           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@esoteric-ephemera
Copy link
Copy Markdown
Collaborator

Great thanks for the bug fix!

@esoteric-ephemera esoteric-ephemera merged commit 23c32ff into materialsproject:main Jul 7, 2025
8 checks 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.

3 participants