我在Python中使用SmoothBivariateSpline插值来处理二维非结构化数据集。 这是我的代码:
import numpy as np
from scipy import interpolate
L = np.loadtxt('Somefile.txt')
P = L[:,0] # extracting first coloumn (independent variable 1)
H = L[:,1] # extracting second coloumn (independent variable 2)
T = L[:,2] # extracting third coloumn (dependent variable)
Spline = interpolate.SmoothBivariateSpline(P, H, T, kx=3, ky=3, s=0)
我收到以下错误:
C:\Python27\lib\site-packages\scipy\interpolate\fitpack2.py:639: UserWarning: ier=2348
warnings.warn(message)
可以告诉我可能出错的地方吗?
由于