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
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).
Metadata
Release files for TTmTDB 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ttmtdb-1.0.2.tar.gz | 18.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ttmtdb-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.1 kB
Release files / ttmtdb-1.0.2.tar.gz
| Download URL | ttmtdb-1.0.2.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e098a7dc70a08b00625f463f39bc515f3ab5485917773d3de9f926bc8a63c420
|
|
BLAKE2b-256 checksum How to use checksums |
b49155e0f05b4c1c34812351f65f3cf8b7aa3c87efcdad354faf899897d3d968
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / ttmtdb-1.0.2-py3-none-any.whl
| Download URL | ttmtdb-1.0.2-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c04cd3b0bdbb23769be5ed20140f88b4795ad0ef2306e60710ccef23b9d23b01
|
|
BLAKE2b-256 checksum How to use checksums |
db834d9beed89f228eb9cacb61785a0f35883b0bfd003aaf76bd31b417139b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for TTmTDB 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.