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.setincrement - Function Up: coordsys - Tool Previous: coordsys.setdirection - Function


coordsys.setepoch - Function



Package general
Module images
Tool coordsys


Set a new epoch


Synopsis
setepoch(value)


Arguments

value in New epoch
    Allowed: Epoch measure



Returns
T or fail



Description

This function (short-hand name se) sets a new epoch (supplied as an epoch measure) of the observation. You can get the current epoch with function epoch.



Example
- cs := coordsys()
- ep := cs.epoch()
- ep
[type=epoch, refer=UTC, m0=[value=51728.4578, unit=d]] 
-
- ep := dm.epoch('UTC', 'today')
- cs.setepoch(ep)
- cs.epoch()
[type=epoch, refer=UTC, m0=[value=51729.1679, unit=d]]





next up previous contents index
Next: coordsys.setincrement - Function Up: coordsys - Tool Previous: coordsys.setdirection - 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