|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
measures.getoffset - Function
1.4.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: | record |
|
| Default: |
|
|
record
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)
#{}
__________________________________________________________________
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