spktype21


Namespktype21 JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/whiskie14142/spktype21
SummaryA supporting module for jplephem to handle data type 21
upload_time2018-10-16 01:12:57
maintainer
docs_urlNone
authorwhiskie14142
requires_python
licenseMIT
keywords jplephem spk type21
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # spktype21
A supporting module for [jplephem](https://pypi.org/project/jplephem/) to handle data type 21 (Version 0.1.0)

This module computes positions and velocities of a celestial small body, from a NASA SPICE SPK ephemeris kernel file of data type 21 (Extended Modified Difference Arrays).  See http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/req/spk.html

You can get SPK files for many solar system small bodies from HORIZONS system of NASA/JPL.  See https://ssd.jpl.nasa.gov/?horizons

This module reads SPK files of data type 21, one of the types of binary SPK file. At the point of Oct. 2018, HORIZONS system provides files of type 21 as binary SPK files by default.  You can get type 21 binary SPK file for celestial small bodies through TELNET interface by answering back 'B' for 'SPK file format'. Also you can get type 21 binary SPK file from:
https://ssd.jpl.nasa.gov/x/spk.html

### Modules required
* jplephem (version 2.6 or later)
* numpy

### Usage
    from spktype21 import SPKType21
    kernel = SPKType21.open('path')
    position, velocity = kernel.compute_type21(center, target, jd)
    print(kernel)     ---- this line prints information of all segments
    kernel.close()

    where:
        path - path to the SPK file
        center - SPKID of central body (0 for SSB, 10 for Sun, etc.)
        target - SPKID of target body
        jd - time for computation (Julian date)
        position - a numpy array (x, y, z)
        velocity - a numpy array (xd, yd, zd)

### Modification Log
##### 0.1.0 October 15, 2018
* Beta Release



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/whiskie14142/spktype21",
    "name": "spktype21",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "jplephem SPK type21",
    "author": "whiskie14142",
    "author_email": "whiskie14142@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/08/1f/48d9d9e41c092b86e62facc63fc0d35f1b1a4556f86b145b86eda58ec090/spktype21-0.1.0.tar.gz",
    "platform": "",
    "description": "# spktype21\nA supporting module for [jplephem](https://pypi.org/project/jplephem/) to handle data type 21 (Version 0.1.0)\n\nThis module computes positions and velocities of a celestial small body, from a NASA SPICE SPK ephemeris kernel file of data type 21 (Extended Modified Difference Arrays).  See http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/req/spk.html\n\nYou can get SPK files for many solar system small bodies from HORIZONS system of NASA/JPL.  See https://ssd.jpl.nasa.gov/?horizons\n\nThis module reads SPK files of data type 21, one of the types of binary SPK file. At the point of Oct. 2018, HORIZONS system provides files of type 21 as binary SPK files by default.  You can get type 21 binary SPK file for celestial small bodies through TELNET interface by answering back 'B' for 'SPK file format'. Also you can get type 21 binary SPK file from:\nhttps://ssd.jpl.nasa.gov/x/spk.html\n\n### Modules required\n* jplephem (version 2.6 or later)\n* numpy\n\n### Usage\n    from spktype21 import SPKType21\n    kernel = SPKType21.open('path')\n    position, velocity = kernel.compute_type21(center, target, jd)\n    print(kernel)     ---- this line prints information of all segments\n    kernel.close()\n\n    where:\n        path - path to the SPK file\n        center - SPKID of central body (0 for SSB, 10 for Sun, etc.)\n        target - SPKID of target body\n        jd - time for computation (Julian date)\n        position - a numpy array (x, y, z)\n        velocity - a numpy array (xd, yd, zd)\n\n### Modification Log\n##### 0.1.0 October 15, 2018\n* Beta Release\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A supporting module for jplephem to handle data type 21",
    "version": "0.1.0",
    "split_keywords": [
        "jplephem",
        "spk",
        "type21"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "9119832747d5f999cec9e4a7a0e1547c",
                "sha256": "440db3b86492e19095738c9676910504729f604318040808ec37582c3a06bbe4"
            },
            "downloads": -1,
            "filename": "spktype21-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9119832747d5f999cec9e4a7a0e1547c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10498,
            "upload_time": "2018-10-16T01:12:55",
            "upload_time_iso_8601": "2018-10-16T01:12:55.588671Z",
            "url": "https://files.pythonhosted.org/packages/56/a0/225c807eebf51abf8a2bece8bc92feaa029d4dca822e704f5fdfa39ac6b2/spktype21-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "7010e3664cda37a064965d16057317dc",
                "sha256": "e7fbeb15a13493eb34b5ea5ab3c4d57c7beb239d66916ca522cea1da9d22356b"
            },
            "downloads": -1,
            "filename": "spktype21-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7010e3664cda37a064965d16057317dc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8836,
            "upload_time": "2018-10-16T01:12:57",
            "upload_time_iso_8601": "2018-10-16T01:12:57.022296Z",
            "url": "https://files.pythonhosted.org/packages/08/1f/48d9d9e41c092b86e62facc63fc0d35f1b1a4556f86b145b86eda58ec090/spktype21-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-10-16 01:12:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "whiskie14142",
    "github_project": "spktype21",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "spktype21"
}
        
Elapsed time: 0.12256s