NRAO Home > CASA > CASA Toolkit Reference Manual
coordsys.axesmap - Function

1.1.3 Find mapping between world and pixel axes


Description

This function returns a vector describing the mapping from pixel to world or world to pixel axes. It is not for general user use.

See the discussion about pixel and world axis ordering. Generally they will be in the same order.

Arguments





Inputs

toworld

Map from pixel to world ?

allowed:

bool

Default:

true

Returns
intArray

Example

 
 
"""  
#  
print "\t----\t axesmap Ex 1 \t----"  
csys = cs.newcoordsys(direction=T, spectral=T)  
csys.axesmap(T);  
#[1L, 2L, 3L]  
csys.axesmap(F);  
#[1L, 2L, 3L]  
#  
"""  
 

__________________________________________________________________


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