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


dcr.focus - Function



Package nrao
Module gbt
Tool dcr


Fit a parabola to a focus observation


Synopsis
focus(filename)


Arguments

filename   name of ascii file on disk
    Allowed: string


Returns
boolean


Description
Read an ascii file containing focus values from a sequence of point/focus combinations, and fit a parbola to find the peak value on the curve.



Example
include 'dcr.g'
md := dcr('GBTdata.ms')  # suppose we have this data set on disk
md.focus('focus.data')
where in this case the file focus.data might have this form:
1.2   15.5
1.3   15.7
1.4   16.0
1.5   16.1
1.6   15.9
1.7   15.6
1.8   15.4





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