Understanding scipy b-spline base interval

139 Views Asked by At

I want to use scipy's b splines. However, in their examples they say that compared to the naive implementation, "outside of the base interval results differ". I don't understand what the base interval here is. I need the behavior of the naive implementation, e.g. going to 0 for x going to plus/minus infinity. Is this possible to get with the scipy implementation?

1

There are 1 best solutions below

2
ev-br On

Yes. Use extrapolate=False and replace nans with zeros.