Robert Kern-2 wrote: > > Don't try to fit a Gaussian to a histogram using least-squares. It's an > awful > way to estimate the parameters. Just use np.mean() and np.cov() to > estimate the > mean and covariance matrix directly. >
Ok, what about distributions other than gaussian? Would you use leastsq in that case? If yes, i will post that to the scipy mailing list. -- View this message in context: http://old.nabble.com/Multidimensional-Fitting-tp29221343p29221776.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list