wafo-project / pywafo

Wave Analysis for Fatigue and Oceanography
http://www.maths.lth.se/matstat/wafo/
Other
94 stars 42 forks source link

wf.interpolate.SmoothSpline does not support NaN #30

Open chenmingzhang opened 8 years ago

chenmingzhang commented 8 years ago

given a command

interp_method=wf.SmoothSpline(x,y,p=coef)

if x or y array has got a np.nan, the spline is going to be failed.

pbrod commented 8 years ago

Thanks for reporting.