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


next up previous contents index
Next: componentlist.getfreqvalue - Function Up: componentlist - Tool Previous: componentlist.setspectrum - Function


componentlist.getfreq - Function



Package synthesis
Module componentmodels
Tool componentlist


Get the reference frequency


Synopsis
getfreq(which)


Description

The getfreq function returns, as a frequency measure, the reference frequency for the specified component. At the reference frequency the flux of the component is the value obtained with the getfluxvalue function. The flux may be different at other frequencies, depending on the components spectral shape.

If the spectral shape is constant then changing the reference frequency will not affect the spectrum of the component.



Arguments

which An index specifying which component
Allowed: An integer between 1 and the list length
Default: no default


Returns
A frequency measure (a record)


Example
      include 'componentlist.g'
      cl := componentlist('centarusA.cl');
      f := cl.getfreq(2);
This example returns the reference frequency of the first component in the componentlist. The returned value is a frequency measure that can be used as an argument to many functions within AIPS++.



next up previous contents index
Next: componentlist.getfreqvalue - Function Up: componentlist - Tool Previous: componentlist.setspectrum - 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-10-15