misc/
ajs_double_gauss.pro
topajs_double_gauss
result = ajs_double_gauss(x, p, _REF_EXTRA=_REF_EXTRA)
This function returns the sum of two Gaussians, using gauss1 (mpfit). Suitable for curve fitting.
Parameters
- x in required
Array of X values
- p in required
[mean1, sigma1, area1, mean2, sigma2, area2] parameters for the two Gaussian components
Keywords
- _REF_EXTRA
Extra parameters to be passed to gauss1
Author information
History: | 11 Jan 2008 Created, Anthony Smith |
File attributes
Modifcation date: | Fri Jun 6 08:19:26 2008 |
Lines: | 24 |
Docformat: | rst rst |