|
User Documentation |
||||||||
| prev file | next file | |||||||||
| SUMMARY: fields | routine DETAILS: routine | |||||||||
./guide File baseline.pro
baseline |
procedure baseline, [nfit=integer], [modelindex=integer], [/nofit] |
Fit and subtract a baseline from the contents of data container [0] (continuum or line, depending on the GUIDE mode at the time).
See the notes for bshape for more details since this procedure uses that one for much of its work.
get,index=20 nregion,[100,500,700,1000,1600,2000] !g.nfit=2 baseline,modelindex=10The step involving !g.nfit can be omitted with the same result.
baseline,nfit=2,modelindex=10Same fit, but first show it via overplot and then subtract without refitting it.
bshape, nfit=2, modelindex=10 baseline,/nofit,modelindex=10Same fit, but don't put the model into any of the data containers.
bshape,nfit=2 baseline,/nofit