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


next up previous contents index
Next: measures.directiongui - Function Up: measures - Tool Previous: measures.epochgui - Function


measures.epoch - Function



Package general
Module measures
Tool measures


define an epoch measure


Synopsis
epoch(rf, v0, off)


Arguments

rf in reference code
    Allowed: coded string
v0 in epoch value
    Allowed: time quantity
    Default: 0.0d
off in optional offset
    Allowed: epoch measure
    Default: F


Returns
epoch measure


Description
epoch defines an epoch measure from the CLI. It has to specify a reference code, an epoch quantity value (see introduction for the action on a scalar quantity with either a vector or scalar value, and when a vector of quantities is given), and optionally it can specify an offset, which in itself has to be an epoch. Allowable reference codes are: UTC TAI LAST LMST GMST1 GAST UT1 UT2 TDT TCG TDB TCB.
Note that additional ones may become available. Check in Glish with:
- dm.listcodes(dm.epoch())
[normal=LAST LMST GMST1 GAST UT1 UT2 UTC TAI TDT TCG TDB TCB IAT
        GMST TT ET UT, extra=]
See quantity for possible time formats.



Example
- dm.epoch('utc','today') 
[type=epoch, refer=utc, m0=[value=50451, unit=d]]





next up previous contents index
Next: measures.directiongui - Function Up: measures - Tool Previous: measures.epochgui - 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