# [Numpy-discussion] Re: Gaussian fits? Sum of Gaussians

Brendan Simons brendansimons at yahoo.ca
Tue Mar 8 08:38:49 CST 2005

```I am not familiar enough with Stats to say exactly
what you need, but you might try looking at the scipy
statistics module:
http://www.scipy.org/documentation/apidocs/scipy/scipy.stats.html
If nothing else, you can use that to generate numeric
arrays with gaussian (normal) distributions and add
them together.

-Brendan

> Message: 1
> Date: Mon, 7 Mar 2005 00:08:58 -0800 (PST)
> To: numpy-discussion at lists.sourceforge.net
> From: "Christian Meesters" <cmeesters at ucdavis.edu>
> Subject: [Numpy-discussion] Gaussian fits? Sum of
> Gaussians?
>
>
> Hi
>
> I was wondering whether there are scripts or modules
> around which can calculate, on a given
> 1D-Numarray or Numeric array, a sum of Gaussians?
> E.g. something like: x =
> sumofgaussians(input_array[, other_parameters])
> where x would contain a list of arrays
> representing Gaussian curves, which, when added
> together, would result in (a good
> approximation of) the input_array. It would be nice,
> of course, if information like the
> standarddeviation and peak height would be
> associated with that data.
>
> Perhaps I am hoping for too much, but in this case
> you guys at least had a good laugh when
> something myself or find it in other software ...
>
> Thanks a lot in advance,
> Christian
>
>
>
> --__--__--
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
>
> End of Numpy-discussion Digest
>

______________________________________________________________________