|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide fitgauss.pro
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
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 |
results of fit. identical to !g.gauss.fit |
fitrms |
errors of fit. identical to !g.gauss.fitrms |
Keywords | |
modelindex |
index of data container in !g to hold the resulting model. If not set (the default) then no index is filled with the model. |