Home | Trees | Indices | Help |
|
---|
|
Helpers for time parsing and conversion.
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
JD_MJD = 2400000.5
|
|
dtJ2000 = datetime.datetime(2000, 1, 1, 12, 0)
|
|
dtB1950 = datetime.datetime(1949, 12, 31, 22, 9, 46, 861900)
|
|
leapSecondTable =
|
|
ttLeapSecondTable =
|
|
timeConversions =
|
|
__package__ =
|
|
dt = datetime.timedelta(0, 34)
|
|
t = datetime.datetime(2008, 12, 31, 23, 59, 59)
|
Function Details |
returns a ``datetime.datetime`` instance for a julian day number.
|
returns a ``datetime.datetime`` instance for a modified julian day number. Beware: This loses a couple of significant digits due to transformation to jd.
|
returns a datetime.datetime instance for a fractional Besselian year. This uses the formula given by Lieske, J.H., A&A 73, 282 (1979).
|
returns a datetime.datetime instance for a fractional (julian) year. This refers to time specifications like J2001.32.
|
returns a julian day number (including fractionals) from a datetime instance.
|
returns a modified julian date for a datetime instance.
|
returns a fractional (julian) year for a datetime.datetime instance.
|
returns TAI for a (datetime.datetime) TDT.
|
returns TDT for a (datetime.datetime) TAI.
|
returns an approximate TT from a TDB. The simplified formula 2.222-1 from [EXS] is used. |
returns approximate TDB from TT. The simplified formula 2.222-1 from [EXS] is used. |
returns TT from TCG. This uses 2.223-5 from [EXS]. |
returns TT from TCG. This uses 2.223-5 from [EXS]. |
returns an approximate TCB from a TT. This uses [EXS] 2.223-2 and the approximate conversion from TDB to TT. |
returns an approximate TT from a TCB. This uses [EXS] 2.223-2 and the approximate conversion from TT to TDB. |
returns TT from UTC. The leap second table is complete through 2009-5. >>> getLeapSeconds(datetime.datetime(1998,12,31,23,59,58)) datetime.timedelta(0, 31) >>> TTtoTAI(UTCtoTT(datetime.datetime(1998,12,31,23,59,59))) datetime.datetime(1999, 1, 1, 0, 0, 30) >>> TTtoTAI(UTCtoTT(datetime.datetime(1999,1,1,0,0,0))) datetime.datetime(1999, 1, 1, 0, 0, 32) |
returns UTC from TT. The leap second table is complete through 2009-5. >>> TTtoUTC(UTCtoTT(datetime.datetime(1998,12,31,23,59,59))) datetime.datetime(1998, 12, 31, 23, 59, 59) >>> TTtoUTC(UTCtoTT(datetime.datetime(1999,1,1,0,0,0))) datetime.datetime(1999, 1, 1, 0, 0) |
Variables Details |
leapSecondTable
|
ttLeapSecondTable
|
timeConversions
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |