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

How to set the extrapolation strategy #18

Open
XDXM147 opened this issue May 23, 2024 · 1 comment
Open

How to set the extrapolation strategy #18

XDXM147 opened this issue May 23, 2024 · 1 comment

Comments

@XDXM147
Copy link

XDXM147 commented May 23, 2024

Hello, when I use this function, if the result falls outside the domain, is the extrapolation result defaulted to returning NaN? I hope to set this extrapolation strategy to a specific numerical value. How do I modify it? I have tried to modify the _interpret_t(self, t) function, but it makes the speed very slow. I hope you can help me solve this problem, thank you very much.

@patrick-kidger
Copy link
Owner

I'm afraid this isn't something that can be modified in torchcubicspline.

More generally I'm afraid this package is now only in maintenace mode, and won't be accepting new feature requests. This package was only ever quickly making public some code I was playing around with :)

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

No branches or pull requests

2 participants