NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.getrefdir - Function

1.2.1 Return the reference direction


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





Inputs

which

An index specifying which component. An integer between 0 and one less than the list length, inclusively

allowed:

int

Default:

Returns
record

Example

 
 
      cl.open(’crux.cl’)  
      dir = cl.getrefdir(1)  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search