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

1.2.1 Get the declination of the reference direction.(Not implemented yet)


Description

The getrefdirdec function returns the declination of the reference direction of the component as a formatted string. If the reference frame is something other than J2000 or B1950 the value returned is the longitude or the altitude.

See the getrefdirra function for a description of the unit and precision arguments.

Arguments





Inputs

which

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

allowed:

int

Default:

unit

The angular unit of the returned value. Any string containing an angular unit or ’angle’ or ’time’

allowed:

string

Default:

deg

precision

The number of digits in the returned string. Numbers between 1 and 16 make the most sense

allowed:

int

Default:

6

Returns
string

Example

 
    See the example for the  
    getrefdirra function.  

__________________________________________________________________


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