|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
componentlist.convertrefdir - Function
1.2.1 Convert the reference direction to a new frame
Description
The convertrefdir function changes the specified components to use a new
direction reference frame. Using this function will change the right-ascension
and declination of the component(s), unlike the setrefdirframe which does not.
Please see the setrefdirframe function for a description of what frames are allowed.
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: |
|
|
frame |
| The new reference frame A string like ’B1950’, ’J2000’
or ’galactic’
| |
| allowed: | string |
|
| Default: |
|
|
bool
Example
cl.open(’crux.cl’);
cl.convertrefdirframe(0, ’J2000’);
__________________________________________________________________
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