¡@

Home 

python Programming Glossary: colville

Curve fitting in Scipy with 3d data and parameters

http://stackoverflow.com/questions/17934198/curve-fitting-in-scipy-with-3d-data-and-parameters

rosen2d datax dataz print 'opt ' optimalparams fitting the colville function in 4d from scipy.optimize import curve_fit import.. import curve_fit import numpy as np # 4 dimensional colville function # definition from http www.sfu.ca ~ssurjano colville.html.. function # definition from http www.sfu.ca ~ssurjano colville.html def colville x x3 x4 x1 x2 x 0 x 1 return 100 x1 2 x2 2..