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.plot_dap_time - Function Up: dcr - Tool Previous: dcr.get_tant - Function


dcr.gauss - Function



Package nrao
Module gbt
Tool dcr


Fit a gaussian function to the data.


Synopsis
gauss(xarray, yarray, height, width, center, plotflag)


Arguments

xarray   X values
    Allowed: double
yarray   Y values
    Allowed: double
height   initial guess for height
    Allowed: float
width   initial guess for width
    Allowed: float
center   initial guess for center
    Allowed: float
plotflag   plot the result?
    Allowed: boolean
    Default: T


Returns
vector of residuals.


Description
This function fits a gaussian to the data. The residuals are returned.





next up previous contents index
Next: dcr.plot_dap_time - Function Up: dcr - Tool Previous: dcr.get_tant - 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