TTmTDB


NameTTmTDB JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryTime difference between the TT and TDB time scales with a precision better han 200ns over 2 centuries.
upload_time2025-01-11 19:27:16
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords astrometry astronomy celestial navigation mathematics physics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ### 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 unit testing). TTmTDB uses 127 periodic terms given by Fairhead & Bretagnon 

For the past and next centuries TTmTDB has a maximum value of about 2 ms.

#### 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:

```python
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:

```python
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).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "TTmTDB",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "astrometry, astronomy, celestial navigation, mathematics, physics",
    "author": null,
    "author_email": "Marcel Hesselberth <hessel@physics.leidenuniv.nl>",
    "download_url": null,
    "platform": null,
    "description": "### NAME\nTTmTDB - Difference between the TT and TDB time scale in seconds.\n\n### SYNOPSIS\nTTmTDB 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.\n\nTTmTDB tests against INPOP21 with an error of 200ns over 2 centuries (it is in fact used for unit testing). TTmTDB uses 127 periodic terms given by Fairhead & Bretagnon \n\nFor the past and next centuries TTmTDB has a maximum value of about 2 ms.\n\n#### REQUIREMENTS\nTTmTDB depends on Numpy. Numba is not required but will result in a significant speedup.\n\n#### PROVIDES\nA single function, TTmTDB.\n\n### DESCRIPTION\nThe Python module is called ttmtdb:\n\n```python\nfrom ttmtdb import TTmTDB\n\nJD2000 = 2451545.0\n\ndt = TTmTDB(JD2000)\nprint(dt)\n9.930573125973422e-05  # seconds\n```\nIt is possible to pass a second time argument, typically containing a day fraction:\n\n```python\ndt2 = TTmTDB(JD2000, 1/12)\nprint(dt2)\n9.689409358933716e-05  # seconds\n```\n\n### AUTHOR\nTTmTDB is written by Marcel Hesselberth.\n\n### REPORTING BUGS\nInpop online help: https://github.com/hesselberth/TTmTDB/issues\n\n### COPYRIGHT\nMarcel Hesselberth.\n\nTTmTDB is released under GPLv3. The text of the license can be found at https://www.gnu.org/licenses/gpl-3.0.txt .\nThis is free software: you are free to change and redistribute it. There is NO WARRANTY.\n\n### SEE ALSO\nFairhead & Bretagnon (A&A 229, 240-247, 1990).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Time difference between the TT and TDB time scales with a precision better han 200ns over 2 centuries.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/hesselberth/Inpop",
        "Issues": "https://github.com/hesselberth/Inpop/issues"
    },
    "split_keywords": [
        "astrometry",
        " astronomy",
        " celestial navigation",
        " mathematics",
        " physics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d010b08d043fb20b8c8f42bc1191cb1cadad09683c73e1d29b330b83896939b4",
                "md5": "2109ac5ea08191175a22445e6cdc67e7",
                "sha256": "476ed052ceea0fcf8074cb3d50facbf318f40bbd7f6a3af3893a6eb70dbb829b"
            },
            "downloads": -1,
            "filename": "ttmtdb-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2109ac5ea08191175a22445e6cdc67e7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 19296,
            "upload_time": "2025-01-11T19:27:16",
            "upload_time_iso_8601": "2025-01-11T19:27:16.619786Z",
            "url": "https://files.pythonhosted.org/packages/d0/10/b08d043fb20b8c8f42bc1191cb1cadad09683c73e1d29b330b83896939b4/ttmtdb-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-11 19:27:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hesselberth",
    "github_project": "Inpop",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ttmtdb"
}
        
Elapsed time: 1.47195s