Skip to main content

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 by kepler 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

kepler.py-0.0.5-cp38-cp38-win_amd64.whl (53.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

kepler.py-0.0.5-cp38-cp38-manylinux2014_x86_64.whl (802.0 kB view details)

Uploaded CPython 3.8

kepler.py-0.0.5-cp38-cp38-macosx_10_9_x86_64.whl (60.4 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

kepler.py-0.0.5-cp37-cp37m-win_amd64.whl (54.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

kepler.py-0.0.5-cp37-cp37m-manylinux2014_x86_64.whl (795.5 kB view details)

Uploaded CPython 3.7m

kepler.py-0.0.5-cp37-cp37m-macosx_10_9_x86_64.whl (60.0 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

kepler.py-0.0.5-cp36-cp36m-win_amd64.whl (88.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

kepler.py-0.0.5-cp36-cp36m-manylinux2014_x86_64.whl (794.3 kB view details)

Uploaded CPython 3.6m

kepler.py-0.0.5-cp36-cp36m-macosx_10_9_x86_64.whl (60.0 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

kepler.py-0.0.5-cp35-cp35m-win_amd64.whl (88.3 kB view details)

Uploaded CPython 3.5m Windows x86-64

kepler.py-0.0.5-cp35-cp35m-manylinux2014_x86_64.whl (794.0 kB view details)

Uploaded CPython 3.5m

kepler.py-0.0.5-cp35-cp35m-macosx_10_9_x86_64.whl (59.4 kB view details)

Uploaded CPython 3.5m macOS 10.9+ x86-64

File details

Details for the file kepler.py-0.0.5-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 53.7 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 767e988fb3c7f7374b47302c403afa0ef2db3700d3dd84dfa1dc898e3ff67888
MD5 7c40474f771350a50f227c7e6cf6b614
BLAKE2b-256 1e4f6de9ac59143bfc3518d712683d918774d7d3c14ebce9e70478ffe3655e36

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 802.0 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4dcc6dd9e95d222b3055fc21b520bad5f6547fff5e0f47f448275ddb9fa7ac9c
MD5 b070ea562dc4db95a0428a90641d6191
BLAKE2b-256 ea36dcb16ed29da9fa36b2615bb35279b95c8dfdcea55c0b88a90a83b7765461

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c4cc19de845248cf8e17f07b1ee7abf5fbf180309989a71027ba9bc93f2bbf5b
MD5 f6d2b52da43b2a62a3c6d8aaa261722d
BLAKE2b-256 79f05e6a342b1737fd250d94f41622d4456d32a8ca701a64547a5d765c44718a

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 54.3 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 223f011b3ce84722e9b2aae5238bd443f323bb87d5a598bdcb13851e5eec2b23
MD5 ca6a924ceeb459f83483b539f8932fb5
BLAKE2b-256 771893164e7872c4fa43708a77940be5119b82c6a9385df81d6936107f871d75

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 795.5 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f3c57abe80051540532630b4582f3b2fdd021f1ff47c0f5aedf17c07e0f7ee3
MD5 a0f47067900edd639e429b8409264afd
BLAKE2b-256 04c2ebe779caf3cf93cfd6ec157a9bd7373b50989dfe822b92dbcca4f60c5e44

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 60.0 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 799a7d5287b85375751ec6b4ef923bd8e0d961797437191230c76911366d12e0
MD5 edfd99639708b344bff2ae195f3af2ab
BLAKE2b-256 5c284e91172da7e7a71c0d01ff5745fd530ac4602125a2f291dba9cf937f8ee4

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 88.3 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 42e50574ac4fe8248b1ede71f8d877b7787d838019057d71252c36d788945c10
MD5 7054e72399301204a68a46b4a48c6c47
BLAKE2b-256 52e072d7479597e292a5e981f8e1ceaf4d28b7527508812b8c4c4dbb7c9c1da2

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 794.3 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4ee928e391f08c4f58f245011d9dc1ab5435b7911cc4e8eb074e29b25e6528bd
MD5 81eb82ecabbcb24cd2b00cd440af196e
BLAKE2b-256 63a72b6491f1f7d7f095b34e66d215340e7e3642cd43c03da58bc4635daba544

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 60.0 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 da9b21096d1986d42ae7c7196cf4109ec192bb32f1247cdabdb7c9c8ad7f7da3
MD5 ef03bbe7d9322fa4a2ef6bfcfb17c66e
BLAKE2b-256 835735f709260ad1a7c4107396d7170e15a931ac2e326742f3b7b3fd0b5d0dcd

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 88.3 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 dd278c04ec894840ffc9a3c68030eb9e774ce38f097521b5ac7b8e3c3ed7833b
MD5 ef70fb7a49e7d2953bc45e3c2fa49ebe
BLAKE2b-256 b8cb50da7913e69ce7c7c6b401804357adcbfb99bb2a18106faa2c233226b695

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 794.0 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 085bb5517c4a28da2c3677880a7b80c76458ede79d384801946ac5407670319f
MD5 873c494f1106580aee1bdb18c1c9b16d
BLAKE2b-256 ee70bf256ad3ee2b776ca5df2a98f7e9dc52ed32981482ffb65a3d3ca2a2fd12

See more details on using hashes here.

File details

Details for the file kepler.py-0.0.5-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kepler.py-0.0.5-cp35-cp35m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: CPython 3.5m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for kepler.py-0.0.5-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c4bb4aac90f77ee238bbf9b497b05eaa1a7b55482dd203ffee9aa9e2d8477557
MD5 ae3f28a30c82e127f16e1e9b95ce7258
BLAKE2b-256 ca2cd946d9a98c67e15050b8c048ff6f94473422f156b3a7b411fba2e6b41ddf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page