The LAMP Application

Generated by IDLdoc

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

lamp_mac/TOF/

fitgauss.pro


PRO fitgauss, x_in, y_in, e_in, xmin, xmax, par, dpar, ispec, $ all=allpoints, plot=plot Fits a Gaussian plus a flat background, and calculates partial derivatives. Normally called from normalise.pro and elastic.pro ARGUMENTS xmin :min limit of fit range xmax :max limit of fit range par :output of fitted Gaussian parameters :-- par(0) - flat background par(1) - height par(2) - centre par(3) - FWHM (sigma) dpar :errors in fitted parameters ispec :spectrum number (used by elastic.pro) KEYWORDS /all : keeps all points in range xmin , [,][,/all][,/plot] (optional keywords/args shown in sqaure brackets) KHA,JRS 8/8/00

Routines

gaussian, x, par, gauss, PD

fitgauss, x_in, y_in, e_in, xmin, xmax, par, dpar, ispec, all=all, plot=plot

Routine details

top gaussian

gaussian, x, par, gauss, PD

** ******** ** evaluate the gaussian

Parameters

x
par
gauss
PD

top fitgauss

fitgauss, x_in, y_in, e_in, xmin, xmax, par, dpar, ispec, all=all, plot=plot

** ******** ** User callable ** Fits a Gaussian plus a flat background, and calculates partial derivatives. ** Normally called from normalise.pro and elastic.pro

Parameters

x_in
y_in
e_in
xmin
xmax
par
dpar
ispec

Keywords

all
plot

File attributes

Modification date: Tue Oct 1 14:39:52 2013
Lines: 181