|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
componentlist.convertfluxunit - Function
1.2.1 Change (convert) the flux units of the specified components
Description
The convertfluxunit function is used to convert the flux to another unit. The
units must have the same dimensions as the Jansky.
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: |
|
|
unit |
| The units of the flux. Any string with the same
dimensions as the Jansky
| |
| allowed: | string |
|
| Default: | Jy |
|
bool
Example
cl.open(’crux.cl’)
print cl.getfluxvalue(1)
cl.convertflux(1, ’WU’)
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