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

1.1.3 Add default coordinates. (For assay testing only.)


Description

Add default coordinates of the specified types. This function allows multiple coordinates of the same type which are not well supported. Use only for assay tests.

Arguments





Inputs

direction

Add a direction coordinate ?

allowed:

bool

Default:

false

spectral

Add a spectral coordinate ?

allowed:

bool

Default:

false

stokes

Add a Stokes coordinate with these Stokes

allowed:

stringArray

Default:

I Q U V XX YY XY YX RR LL RL LR

linear

Add a linear coordinate with this many axes

allowed:

int

Default:

0

tabular

Add a tabular coordinate

allowed:

bool

Default:

false

Returns
bool

Example

 
 
"""  
#  
print "\t----\t addcoordinate Ex 1 \t----"  
mycs=cs.newcoordsys()  
mycs.addcoordinate(direction=T)  
mycs.done()  
#  
"""  
 
 

__________________________________________________________________


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