nraonrao
 
NRAO Home > CASA > CasaRef
measures.gettype - Function

1.3.1 get the type of a measure
Description

gettype gets the actual type of the measure.

Arguments





Inputs

v

measure (array of measures)

allowed:

any

Default:

record

Returns
string

Example

print "\t----\t gettype Ex 1 \t----"  
b=me.direction(’j2000’,’0deg’,’80deg’)  
print me.getvalue(b)  
#{’m0’: {’value’: 0.0, ’unit’: ’rad’},  
# ’m1’: {’value’: 1.3962634015954634, ’unit’: ’rad’}}  
print me.gettype(b)  
#’Direction’

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.