You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error message is:
LoadError: Error on entry, no approximation returned. The following conditions
must hold:
xb<=x[i]<=xe, yb<=y[i]<=ye, w[i]>0, i=0..m-1
If iopt==-1, then
xb<tx[kx+1]<tx[kx+2]<...<tx[nx-kx-2]<xe
yb<ty[ky+1]<ty[ky+2]<...<ty[ny-ky-2]<ye
in expression starting at
Thanks
The text was updated successfully, but these errors were encountered:
My guess is that 6 data points is not enough to fit a spline with degree kx=3, ky=3. The error message is not very helpful though! I would try decreasing kx, ky or increasing the number of points. An improvement to the error message would be very welcome.
Seems not to work, here my simple example that does not work.
using Dierckx
x=[0.7, 5.3, 3.3, 7.8, 2.2, 7.3]
y=[0.9, 0.6, 3.1, 2.1, 4.8, 4.2]
z=[3., 4., 7., 12., 18., 9.]
Spline2D(x, y, z)
error message is:
LoadError: Error on entry, no approximation returned. The following conditions
must hold:
xb<=x[i]<=xe, yb<=y[i]<=ye, w[i]>0, i=0..m-1
If iopt==-1, then
xb<tx[kx+1]<tx[kx+2]<...<tx[nx-kx-2]<xe
yb<ty[ky+1]<ty[ky+2]<...<ty[ny-ky-2]<ye
in expression starting at
Thanks
The text was updated successfully, but these errors were encountered: