[SciPy-User] spline interpolators silently failing on NaNs
Fri Dec 21 16:02:09 CST 2012
21.12.2012 23:33, Ralf Gommers kirjoitti:
> Yes, a check in functions in fitpack2.py for NaNs as well as duplicate
> points and monotonicity where applicable would be quite useful.
The NaN check could be done on the output of the spline fitting routine
--- then, you can just check one of the values (since NaNs always
propagate to fill the whole spline fit), rather than needing to check
all of the input values, which is slower.
More information about the SciPy-User