Produced by IDL 6.1
User Documentation

./guide
fitgauss.pro

Last modification date:
Thu Jun 2 23:56:08 2005

fitgauss

procedure fitgauss[, fit][, fitrms], [modelindex=long]

Interactive procedure that allows user to use the plotter and mouse buttons to specify regions and gaussians for fitting. Left Mouse Button: to mark regions (left then right) Center Mouse Button: to mark gaussians (center then width) Right Mouse Button: to calculate and show fits

Examples
   fitgauss,modelindex=10    ; fit gaussian and store model in DC 10
   show
   subtract,0,10,11          ; store residual in DC 11
   oshow, 11                 ; overlay residual
   oshow, 10, color=!yellow  ; overlay gaussian model
 

Parameters
fit
out, optional
variable
results of fit. identical to !g.gauss.fit
fitrms
out, optional
variable
errors of fit. identical to !g.gauss.fitrms

Keywords
modelindex
in, optional
long (def. -1)
index of data container in !g to hold the resulting model. If not set (the default) then no index is filled with the model.


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:47 2005