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

1.2.1 Change (convert) the polarization representation of the specified components


Description

The convertfluxpol function is used to convert the flux to another polarization representation. There are are three representations used, namely , ’Stokes’, ’linear’ & ’circular’

Arguments





Inputs

which

A vector of indices specifying the components to modify. A vector with indices between 0 and one less than the list length, inclusively

allowed:

int

Default:

polarization

The new polarization representation

allowed:

string

Default:

circular

linear

Stokes

Returns
bool

Example

 
 
      cl.open(’centarusA.cl’)  
      print cl.getfluxvalue(1)  
      cl.convertfluxpol(1, ’linear’)  
      print cl.getfluxvalue(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