Method summary
- __call__(self, x, y, mth = 'array')
- get_coeffs(self)
- get_knots(self)
- get_residual(self)
Methods
- __call__(self, x, y, mth = 'array')
Evaluate spline at positions x,y.
- get_coeffs(self)
Return spline coefficients.
- get_knots(self)
Return a tuple (tx,ty) where tx,ty contain knots positions of the spline with respect to x-, y-variable, respectively. The position of interior and additional knots are given as t[k+1:-k-1] and t[:k+1]=b, t[-k-1:]=e, respectively.
- get_residual(self)
Return weighted sum of squared residuals of the spline approximation: sum ((w[i]*(z[i]-s(x[i],y[i])))**2,axis=0)
