|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
regionmanager.setcoordinates - Function
1.1.2 Set new default Coordinate System
Description
This function allows you to (re)set the default Coordinate System used by the
functions that make world regions. If you don’t specifiy a Coordinate System
when you make the world region, the default Coordinate System, if there is
one, is used. The Coordinate System is stored in a coordinates tool and is
created with the coordsys tool function.
Normally, the world region creating functions like wbox and wpolygon will issue a message each time the private Coordinate System is used. However, if you set verbose=F then this will not occur.
Arguments
Inputs |
| ||
csys |
| Default Coordinate System for use in world regions
| |
| allowed: | record |
|
| Default: | Coordinate tool |
|
bool
Example
- ia.open(’quiqui’)
- csys = ia.coordsys()
- rg.setcoordinates(csys.torecord())
- r1 = rg.wbox()
Using private CoordinateSystem from image "quiqui"
__________________________________________________________________
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