Python 3D polynomial surface fit, order dependent
Griddata uses a spline fitting. A 3rd order spline is not the same thing as a 3rd order polynomial (instead, it’s a different 3rd order polynomial at every point). If you just want to fit a 2D, 3rd order polynomial to your data, then do something like the following to estimate the 16 coefficients using … Read more