|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide fitgauss.pro
Routine Summary 5 routines |
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. |
procedure find_region, nregions, regions, x, region | private |
procedure overlap_check, nregions, regions, checkpoint, status | private |
procedure get_closest_index, x, y, result | private |
procedure get_full_width_half_max, cx, cy, y, fwhm | private |
Routine Details |
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. |
find_region | private |
Parameters | |
nregions |
. |
regions |
. |
x |
. |
region |
. |
overlap_check | private |
procedure overlap_check, nregions, regions, checkpoint, status |
Parameters | |
nregions |
. |
regions |
. |
checkpoint |
. |
status |
. |
get_closest_index | private |
Parameters | |
x |
. |
y |
. |
result |
. |
get_full_width_half_max | private |
Parameters | |
cx |
. |
cy |
. |
y |
. |
fwhm |
. |