Fast and stable Kepler solver
Project description
Fast and stable solver for Kepler's equation extracted from exoplanet.
Installation
The best way to install is using pip:
python -m pip install kepler.py
Usage
This package exposes two functions:
kepler
: Solves Kepler's equation and returns the cosine and sine of the true anomaly:
import kepler
eccentric_anomaly, cos_true_anomaly, sin_true_anomaly = kepler.kepler(mean_anomaly, eccentricity)
solve
: A lower-level interface that is used bykepler
to actually do the solving (Note that this will return garbage for eccentricities out of the range zero to one):
import kepler
eccentric_anomaly = kepler.solve(mean_anomaly, eccentricity)
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
Built Distributions
File details
Details for the file kepler.py-0.0.6.tar.gz
.
File metadata
- Download URL: kepler.py-0.0.6.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405798a47a2de70b092a505b30c75324918bd0eb8411e09e21add6da4d33c07f |
|
MD5 | b57d574b3044cb2a662f860c6baf9d98 |
|
BLAKE2b-256 | a3969c300e29c08acc84b72f830b6226ebddc7f9308dc2876aac84992c46d6b2 |
File details
Details for the file kepler.py-0.0.6-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 54.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 087184a465ef401484a064a4580c2e4d0659c998d5a7dfd19ce324d7b7380e0c |
|
MD5 | a8fc3ce5eefcae7681e46285ec070d5b |
|
BLAKE2b-256 | bb4aaf0d80087b1a57b6ff05c59483f7aa900c55169cbee37d62d769baa9384c |
File details
Details for the file kepler.py-0.0.6-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 812.4 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b37705e975d3bb16fcafbdca5d260fe0703fe5a9ca0630503877bdf8f550b23 |
|
MD5 | 0e32f6ccc74b90b11fe9a746a030d9fc |
|
BLAKE2b-256 | 15be127206651500a0fed7e261ec7a9fab9de79293aa4053911e14c77f6dd75d |
File details
Details for the file kepler.py-0.0.6-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 62.2 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01bc3acc1b41a330cf17dd5900bc3e117ba14a9662074b7db11065816c55a18 |
|
MD5 | 7a267743b8379bf60e933ff4772c854e |
|
BLAKE2b-256 | b771f2ab1310a49d1de63ee2d8cc6bdef7afee50256492d0e4388459331f19d2 |
File details
Details for the file kepler.py-0.0.6-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 54.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0bd195097bc27a0efb4074f8f5fef46060ba58a12ce2c289f888bfbb5780e08 |
|
MD5 | 4b8945d781c2265cb9413e8539482106 |
|
BLAKE2b-256 | 8667e484ba25783dd9aa85ef12503a6568bca8c7e1edd5879184824495c75837 |
File details
Details for the file kepler.py-0.0.6-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 814.3 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8b4c30ee677281df95e89bcd3bc260f08ac1dae8a2e39a5f92185a031834c2b |
|
MD5 | 5dfa4b6df35e58d01166bec9edbe7193 |
|
BLAKE2b-256 | e3ddb29238ac6b648a4dc5842e9ee1c49180386b12ae41221330dde332ea5242 |
File details
Details for the file kepler.py-0.0.6-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 62.0 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b23c7b7805f2b62700346993dc1686c2e200c827cf7eb99872e8605bbd95b59 |
|
MD5 | 5585d960fa78e3d59592393d7488db66 |
|
BLAKE2b-256 | 69e6799a9d5149cbf6237ed676eac0bf1f4f6d83ec7afc104808085161717707 |
File details
Details for the file kepler.py-0.0.6-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 55.2 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b3402f7bf40db6dbb6e1af560336e02fcd76c3fd5c5698b1b65d075bc5a2f1d |
|
MD5 | 407937649e1154482cfd7b064d45816c |
|
BLAKE2b-256 | b0ded03ca3cb65d026c53b2c1a55b0bb13e5f07acc63e31fe56a058f2217aba3 |
File details
Details for the file kepler.py-0.0.6-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 820.1 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90035e591fd1a4b0304cfb20f3632f4ca64d2fcbe3dda98976383a5ecb48cb65 |
|
MD5 | 7c7c5bb7eed2b58a02730846ee9861a6 |
|
BLAKE2b-256 | d410588c8b3af6efd67acecd0e7ee1b0f3dc533f78fdc5692da2c2d9b5679034 |
File details
Details for the file kepler.py-0.0.6-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 61.6 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419aad96418226d37b6dadf520ad82c02f5fc6fea340c2c50c1c5595912ad2e1 |
|
MD5 | ec7eb20666ed3ad8f852a89332f9b8a8 |
|
BLAKE2b-256 | f9ce8d94a41e031898178e900dd6bf0eb1ac3732f5ebab58e3ad4675132b5624 |
File details
Details for the file kepler.py-0.0.6-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 89.2 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f9cec21796e03594600526e8a4c4f0dd366cfa6ca65db755e7fba35d2fb99de |
|
MD5 | b625bc12c18924498b63310aa0085026 |
|
BLAKE2b-256 | 21e771d707a566d40875efbf0e0911053022e7bc2578f61dc854baa25b43d16b |
File details
Details for the file kepler.py-0.0.6-cp36-cp36m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 819.2 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8e66da13a936405607d50c2c727edb7b73af3c4df1739cd5d6a6e1d6f0ba9c |
|
MD5 | 3eab31725ae4b5ebb08e2cd8d3c5e567 |
|
BLAKE2b-256 | a42785a7a032eb983b3425c033f20c198cd8fe944f27d14371355f8e19bef0e7 |
File details
Details for the file kepler.py-0.0.6-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: kepler.py-0.0.6-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 61.6 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88475a98da0962148600c175e18d16f7f6db7f3813972c6e9803e616abe42f2f |
|
MD5 | 49afe2ae469c8e03b760ecfb0c49d411 |
|
BLAKE2b-256 | 92de9c2dda7dab5ddf29fb3263452580bbc0cf428cd62bad1d24b7088c1eef7b |