[SciPy-User] [SciPy-user] How to use Least square fit to fit three functions
Wed Feb 8 08:21:38 CST 2012
On Tue, Feb 7, 2012 at 9:39 AM, suzana8447 <firstname.lastname@example.org> wrote:
> I would really appreciate if someone suggest me how to use least square fit
> (scipy) to fit three functions at the same time because i looked at the
> website site of scipy-least square:
> and I realized that lesatsq takes only one function as an argument. Is there
> any way to let leastsq fit three functions for example?
stack them into one array
If you need different weights for the 3 functions, then the easiest
would be to use optimize curve_fit.
> Thanks in advance.
> View this message in context: http://old.nabble.com/How-to-use-Least-square-fit-to-fit-three-functions-tp33278985p33278985.html
> Sent from the Scipy-User mailing list archive at Nabble.com.
> SciPy-User mailing list
More information about the SciPy-User