![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaRef |
|
||
1.1.3 Convert relative coordinate to absolute
Description
This function converts a relative coordinate to an absolute coordinate. The
coordinate may be a pixel coordinate or a world coordinate.
If the coordinate is a pixel coordinate, it is supplied as a numeric vector. If the coordinate is a world coordinate, you may give it in all of the formats described in the formatting discussion.
If the coordinate value is supplied by a Coordsys tool function (e.g. toworld) then the coordinate ’knows’ whether it is world or pixel (and absolute or relative). However, you might supply the value from some other source as a numeric vector (which could be world or pixel) in which case you must specify whether it is a world or pixel coordinate via the isworld argument.
Arguments
| Inputs |
| ||
| value |
| Relative coordinate | |
| allowed: | any |
|
| Default: | variant |
|
| isworld |
| Is coordinate world or pixel? Default is unset.
| |
| allowed: | int |
|
| Default: | -1 |
|
Example
This example uses world coordinates.
Example
This example uses pixel coordinates.
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.