Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: coordsys.findaxis - Function Up: coordsys - Tool Previous: coordsys.done - Function


coordsys.epoch - Function



Package general
Module images
Tool coordsys


Return the epoch


Synopsis
epoch()


Returns
Epoch measure or fail



Description

This function (short-hand name e) returns the epoch of the observation as a Measure. You can format it with quanta



Example
- cs := coordsys()
- ep := cs.epoch()
- ep
[type=epoch, refer=UTC, m0=[value=51728.4578, unit=d]] 
-
- time := dm.getvalue(ep)           # Extract time with measures
- dq.time(time)                     # Format with quanta
10:59:10.170





next up previous contents index
Next: coordsys.findaxis - Function Up: coordsys - Tool Previous: coordsys.done - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01