measures.getoffset - Function

1.3.1 get the offset of a measure
Description

getoff gets the actual offset of the measure (as a measure) or F if no offset given.

Arguments





Inputs

v

measure (array of measures)

allowed:

any

Default:

record

Returns
anyrecord

Example

"""  
#  
print "\t----\t getoffset 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’  
print me.getref(b)  
#’J2000’  
print me.getoffset(b)  
#{}  
#  
"""

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.