Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/tools/fitting/

mgauss.pro


FUNCTION: MGAUSS PURPOSE: Evaluates multiple gaussian function with background. This function may be used with the "fit" curve fitting procedure. KEYWORDS: PARAMETERS: a structure that contain the parameters that define the gaussians If this parameter is not a structure then it will be created. USAGE: par = mgauss( numg =4 ) ; get parameter structure with 4 gaussian peaks x = findgen(100)/10. y = mgauss(x,param = par) plot,x,y RETURNS: result Written by: Davin Larson $LastChangedBy: davin-mac $ $LastChangedDate: 2012-05-29 10:45:13 -0700 (Tue, 29 May 2012) $ $LastChangedRevision: 10470 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/fitting/mgauss.pro $

Routines

top source mgauss

result = mgauss(x, a, parameters=parameters, numg=numg, binsize=binsize, shift=shift)

Parameters

x
a

Keywords

parameters
numg
binsize
shift

File attributes

Modification date: Thu Feb 13 16:43:13 2014
Lines: 45