spktype01
A supporting module for jplephem to handle data type 1 (Version 1.0.0)
This module computes positions and velocities of a celestial small body, from a NASA SPICE SPK ephemeris kernel file of data type 1 (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 1, 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 1 binary SPK file for celestial small bodies through TELNET interface by answering back '1' for 'SPK file format'.
Modules required
- jplephem (version 2.6 or later)
- numpy
Usage
from spktype01 import SPKType01
kernel = SPKType01.open('path')
position, velocity = kernel.compute_type01(center, target, jd)
print(kernel) ---- this line prints information of all segments
kernel.close()
where:
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
1.0.0 October 9, 2018
- close function is added
- stable release
0.1.0 October 10, 2016
- beta release
Metadata
Release files for spktype01 1.0.0
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 | Actions |
|---|---|---|---|---|
| spktype01-1.0.0.tar.gz | 7.3 kB | Without provenance | Details for spktype01-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spktype01-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for spktype01-1.0.0-py3-none-any.whl |
Total release size: 16.2 kB
Release files / spktype01-1.0.0.tar.gz
| Download URL | spktype01-1.0.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fee5b7b0cbe22101f15f9f2acc86f16bb3862100d0bcf2aa6404f9e23ba9348d
|
|
BLAKE2b-256 checksum How to use checksums |
e96c975b467dd463eaefab824c1b2282ba6fa8df154163fd8f584f4a335f1f18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.1
|
Release files / spktype01-1.0.0-py3-none-any.whl
| Download URL | spktype01-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c67fb73df3dc6d3157841977a9f2f33239c53e62304dc7c5cbc17a5dca1b8d9
|
|
BLAKE2b-256 checksum How to use checksums |
ff440b81e84f77f9e31b5b87f68dd6082be91204edebd13138104b0a511a7514
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.1
|
Security for spktype01 1.0.0
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.