nraonrao
 
NRAO Home > CASA > CasaRef
componentlist.getfluxvalue - Function

1.4.2 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 1 and the list length

allowed:

int

Default:

no default

Returns
doubleArray

Example

      include ’componentlist.g’  
      cl := componentlist(’crux.cl’);  
      flux := cl.getfluxvalue(1);  
      unit := cl.getfluxunit(1);  
      pol := cl.getfluxpol(1);  
      err := cl.getfluxerror(1);  
    

This example returns the values, units, polarization and error of the first component in the list.

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.