[SciPy-User] Fitting a Gaussian
Jonathan Stickel
jjstickel at vcn.com
Mon Jan 17 21:59:17 EST 2011
On 01/17/2011 07:17 PM, scipy-user-request at scipy.org wrote:
> Date: Mon, 17 Jan 2011 16:53:54 -0600
> From: Benedikt Riedel<briedel at wisc.edu>
> Subject: Re: [SciPy-User] Fitting a Gaussian
> Yeah that is what I was trying to do. I am trying to get around using the
> least squares method, but I guess I am stuck with that. Thanks for the
> clarification.
>
> Cheers,
>
> Ben
>
I haven't followed all the details of this thread, but have you tried
taking the first few moments of your distribution curve, using something
like cumtrapz? From the moments you can calculate the total area, the
centroid, and the variance.
Jonathan
More information about the SciPy-User
mailing list