Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: dcr.focus - Function Up: dcr - Tool Previous: dcr.guessmode - Function


dcr.baselinefit - Function



Package nrao
Module gbt
Tool dcr


Fit a baseline


Synopsis
baselinefit(xarray, yarray, ord, range, plotflag)


Description
This function provides a baseline fit to the given data. The residuals are returned.



Arguments

xarray   x values
    Allowed: double
yarray   y values
    Allowed: double
ord   Order of the polynomial
    Allowed: int
range   Channel range to be fit
    Allowed: array
plotflag   Plot the fit?
    Allowed: boolean
    Default: T


Returns
vector of residuals




next up previous contents index
Next: dcr.focus - Function Up: dcr - Tool Previous: dcr.guessmode - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01