Skip to main content

Time difference between the TT and TDB time scales with a precision better han 200ns over 2 centuries.

Project description

NAME

TTmTDB - Difference between the TT and TDB time scale in seconds.

SYNOPSIS

TTmTDB returns the difference between the TT time scale (terrestrial time, proper time on the earth's geoid at sea level) and the TDB time scale (barycentric dynamical time, taking into account time dilatation in the solar system). Other time scales are connected to TT and TDB via simple scalings but TT-TDB depends on the position of the bodies in the solar system and must be evaluated by ephemeris theories.

TTmTDB tests against INPOP21 with an error of 200ns over 2 centuries (it is in fact used for Inpop unit testing). TTmTDB uses 127 periodic terms given by Fairhead & Bretagnon.

For the past and next centuries the TTmTDB correction has a maximum value of less than 2 ms so it is only required for high precision applications.

REQUIREMENTS

TTmTDB depends on Numpy. Numba is not required but will result in a significant speedup.

PROVIDES

A single function, TTmTDB.

DESCRIPTION

The Python module is called ttmtdb:

from ttmtdb import TTmTDB

JD2000 = 2451545.0

dt = TTmTDB(JD2000)
print(dt)
9.930573125973422e-05  # seconds

It is possible to pass a second time argument, typically containing a day fraction:

dt2 = TTmTDB(JD2000, 1/12)
print(dt2)
9.689409358933716e-05  # seconds

AUTHOR

TTmTDB is written by Marcel Hesselberth.

REPORTING BUGS

Inpop online help: https://github.com/hesselberth/TTmTDB/issues

COPYRIGHT

Marcel Hesselberth.

TTmTDB is released under GPLv3. The text of the license can be found at https://www.gnu.org/licenses/gpl-3.0.txt . This is free software: you are free to change and redistribute it. There is NO WARRANTY.

SEE ALSO

Fairhead & Bretagnon (A&A 229, 240-247, 1990).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttmtdb-1.0.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttmtdb-1.0.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file ttmtdb-1.0.0.tar.gz.

File metadata

  • Download URL: ttmtdb-1.0.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for ttmtdb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 849899bbfb5f08b36f7406e9791506852983d3401064b99568a986b0dbaf0072
MD5 013551812a0fd9c251abc0d908293da8
BLAKE2b-256 35ea816ca0dbab79b3770e260fc02c7500865a22e08ef770c33620e7faffca1b

See more details on using hashes here.

File details

Details for the file ttmtdb-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ttmtdb-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for ttmtdb-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8929bc440211907f33061c48d46e2ecd2d4925f9edbe174894e00b65e265f2a
MD5 b3aca8e63ac03ce20407a3daec1b50b8
BLAKE2b-256 07aaa121864ead719ba4a021addb31068266202aba6b78abfb1b8218d0be035e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page