Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fix certain parameters during curve fit python lambda

def func(x,a,b):
   return a*x*x + b

for b in xrange(10):
   popt,pcov = curve_fit(lambda x, a: func(x, a, b), x1, x2)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fix #parameters #curve #fit #python #lambda
ADD COMMENT
Topic
Name
1+1 =