1.1.3 Return the epoch
Description
This function returns the epoch of the observation as a Measure.
Arguments
Example
"""
# print "\t----\t epoch Ex 1 \t----" csys = cs.newcoordsys() ep = csys.epoch() print ep #{’type’: ’epoch’, ’m0’: {’value’: 54151.96481085648, ’unit’: ’d’}, ’refer’: ’UTC’} time = me.getvalue(ep) # Extract time with measures print time #{’m0’: {’value’: 54151.96481085648, ’unit’: ’d’}} qa.time(time) # Format with quanta #’23:09:20’ # """ |
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.