Re: [SciPy-user] Problem with scipy.optimize.leastsq
10 Mar
2008
10 Mar
'08
10:07 a.m.
I think Dave is right. Whenever I use leastsq, I have a function that gives an array of errors. Leastsq does the squaring and summing for you, Mark I may be on the wrong track here, but what happens if you remove the
squaring and summing from the chi2gauss - i.e.
def chi2gauss(ARR): a,b,x0,y0,s = ARR noisemap = sqrt(im+RON**2) return (im - gi(a,b,x0,y0,s,im))/noisemap
-Dave
------------------------------
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
End of SciPy-user Digest, Vol 55, Issue 19 ******************************************
6048
Age (days ago)
6048
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Bakker