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

1.2.1 Get the reference frequency value (Not implemeted yet)


Description

The getfreqvalue function returns as a floating point number the value of the reference frequency. To fully interpret this value you should also use the frequency unit, obtained using the getfrequnit function and the frequency reference frame, obtained using the getfrequnit function

Arguments





Inputs

which

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

allowed:

int

Default:

Returns
double

Example

 
 
      include ’componentlist.g’  
      cl := componentlist(’centarusA.cl’);  
      print ’The reference frequency is ’, cl.getfreqvalue(1), ’ ’,  
            cl.getfrequnit(1), ’(’, cl.getfreqframe(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