-
Notifications
You must be signed in to change notification settings - Fork 35
/
README
48 lines (33 loc) · 1.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Orbital
-------
|Build Status| |PyPI Version| |Python Version| |MIT License|
Orbital is a high level orbital mechanics package for Python.
Installation
~~~~~~~~~~~~
.. code:: bash
$ pip install orbitalpy
Example
~~~~~~~
.. code:: python
from orbital import earth, KeplerianElements, Maneuver, plot
from scipy.constants import kilo
import matplotlib.pyplot as plt
orbit = KeplerianElements.with_altitude(1000 * kilo, body=earth)
man = Maneuver.hohmann_transfer_to_altitude(10000 * kilo)
plot(orbit, title='Maneuver 1', maneuver=man)
plt.show()
.. figure:: http://i.fraz.eu/5b84e.png
:alt: Example plot
Example plot
Documentation
~~~~~~~~~~~~~
For more information, view the `documentation
online <http://pythonhosted.org/OrbitalPy/>`__.
.. |Build Status| image:: http://img.shields.io/travis/RazerM/orbital.svg?style=flat-square
:target: https://travis-ci.org/RazerM/orbital
.. |PyPI Version| image:: http://img.shields.io/pypi/v/orbitalpy.svg?style=flat-square
:target: https://pypi.python.org/pypi/orbitalpy/
.. |Python Version| image:: https://img.shields.io/badge/python-2.7%2C%203-brightgreen.svg?style=flat-square
:target: https://www.python.org/downloads/
.. |MIT License| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
:target: https://raw.githubusercontent.com/RazerM/orbital/master/LICENSE