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

1.1.3 Return types of coordinates for each axis


Description

This function returns a vector string giving the coordinate type for each axis (world or pixel) in the Coordinate System.

See the discussion about pixel and world axis ordering.

Arguments





Inputs

world

World or pixel axes ?

allowed:

bool

Default:

true

Returns
stringArray

Example

 
 
"""  
#  
print "\t----\t axiscoordinatetypes Ex 1 \t----"  
csys=cs.newcoordsys(direction=T,spectral=T)  
csys.axiscoordinatetypes()  
#[’Direction’, ’Direction’, ’Spectral’]  
#  
"""  
 

__________________________________________________________________


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