| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 05:10:59 GMT
X-Served-By: cache-dfw-kdal2120092-DFW, cache-bom-vanm7210092-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768626659.253066,VS0,VE305
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
orbits: Types and functions for Kepler orbits.
orbits: Types and functions for Kepler orbits.
Downloads
- orbits-0.4.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.3, 0.4, 0.4.0.1 |
|---|---|
| Change log | changelog.md |
| Dependencies | ad (>=4.3.2), base (>=4.8 && <5), exact-real (>=0.12), lens, linear, units, units-defs (>=2.2) [details] |
| License | BSD-3-Clause |
| Copyright | 2020 Joe Hermaszewski |
| Author | Joe Hermaszewski |
| Maintainer | Joe Hermaszewski <keep.it.real@monoid.al> |
| Uploaded | by jophish at 2022-09-06T09:10:52Z |
| Category | Physics |
| Home page | https://github.com/expipiplus1/orbits#readme |
| Bug tracker | https://github.com/expipiplus1/orbits/issues |
| Source repo | head: git clone https://github.com/expipiplus1/orbits |
| Distributions | NixOS:0.4.0.1 |
| Downloads | 581 total (22 in the last 30 days) |
| Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2022-09-06 [all 1 reports] |
Readme for orbits-0.4.0.1
[back to package description]orbits
For my uncle Zbys who watched the planets and stars.
Types and functions for dealing with Kepler orbits.
The main data type is Orbit, which describes the path of a body in orbit.
Nomenclature
| Symbol | Meaning | Notes |
|---|---|---|
| a | Semi-major axis | Negative for hyperbolic orbits |
| b | Semi-minor axis | Negative for hyperbolic orbits |
| e | Eccentricity | |
| q | Periapsis | |
| i | Inclination | |
| μ | Standard gravitational parameter | |
| Ω | Longitude of the ascending node | |
| l | Semi-latus Rectum | |
| n | Mean motion | |
| p | Period | |
| t | Time since periapse | |
| M | Mean anomaly | |
| E | Eccentric anomaly | Only for elliptic orbits |
| H | Hyperbolic anomaly | Only for hyperbolic orbits |
| ν | True anomaly | |
| h | Specific angular momentum | |
| ε | Specific orbital energy | |
| εp | Specific potential energy | |
| εk | Specific kinetic energy | |
| v | Orbital speed or velocity | |
| r | The radius to the orbiting body | |
| φ | Flight path angle |
Note that in the Haskell source uppercase symbols such as Ω and M are written with a leading underscore.
Implementation
This package makes use of the
units package to ensure that the
implementation is correct regarding units of measure.
Contributing
Contributions and bug reports are welcome!
Please feel free to contact me on GitHub or as "jophish" on freenode.
-Joe