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

Introduce a maxDeltaT to check if referencing points are within range #994

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Hylke-Atmos
Copy link

Hi @cdrnet,

I ran into a situation where I wanted to have the (LinearSpline) interpolation to fail when the two points used for interpolation are not within a certain range from point 't'.
I added a function which you can provide with a MaxDeltaT argument.

Please let me know if you'd like this addition for the library. It is currently implemented directly in LinearSpline, but I can imagine it might be worth for all interpolation functions. So if you like the idea I can extend it towards the IInterpolation Interface and implement it into all implementations.

Kind Regards Hylke

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