10 Mar
2008
10 Mar
'08
8:07 p.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 ******************************************