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

1.2.1 Get the reference frequency (Not implemented yet)


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





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

 
 
      include ’componentlist.g’  
      cl := componentlist(’centarusA.cl’);  
      f := cl.getfreq(2);  
 

__________________________________________________________________


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