general/tools/fitting/
gauss2.pro
FUNCTION: GAUSS PURPOSE: Evaluates a gaussian function with background. This function may be used with the "fit" curve fitting procedure. KEYWORDS: PARAMETERS: structure with the format: ** Structure <275ac0>, 6 tags, length=48, refs=1: a DOUBLE 1.0000000 ; area s DOUBLE 1.0000000 ; sigma X0 DOUBLE 0.0000000 ; center If this parameter is not a structure then it will be created. USAGE: x = findgen(100)/10. y = gaussian(x,par=p) plot,x,y RETURNS: result
Routines
File attributes
Modification date: | Thu Feb 13 16:43:13 2014 |
Lines: | 10 |