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

1.2.1 Get the flux value of the specified component


Description

The getfluxvalue function returns the value of the flux of the specified component using the current units and the current polarization representation. The functions getfluxunit & getfluxpol & can be used to get the units and polarization representation that corresponds to the supplied value.

Arguments





Inputs

which

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

allowed:

int

Default:

no default

Returns
doubleArray

Example

 
 
      cl.open(’crux.cl’);  
      flux = cl.getfluxvalue(1);  
      unit = cl.getfluxunit(1);  
 
 
    This example returns the values, units, polarization and error of the  
    first component in the list.  

__________________________________________________________________


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