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.getrefdirra - Function Up: componentlist - Tool Previous: componentlist.convertfluxpol - Function


componentlist.getrefdir - Function



Package synthesis
Module componentmodels
Tool componentlist


Return the reference direction


Synopsis
getrefdir(which)


Description
The getrefdir function returns, as a direction measure, the reference direction for the specified component. The reference direction is for all the currently supported component shapes the direction of the centre of the component.


Arguments

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


Returns
A direction measure


Example
      include 'componentlist.g'
      cl := componentlist('crux.cl');
      dir := cl.getrefdir(1);
This example returns the direction of the centre of the first component in the componentlist. The returned value is a direction measure that can be used as an argument to many functions within AIPS++.



next up previous contents index
Next: componentlist.getrefdirra - Function Up: componentlist - Tool Previous: componentlist.convertfluxpol - 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