NerdnetCA / KerbalCompute

Orbital Mechanics tools for Kerbal Space Program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KerbalCompute

Orbital Mechanics tools for Kerbal Space Program

Status

Currently in overhaul, so I won't bother with much documentation right now.

Old Usage Example

>>> CONST.MUN.Apo
12000000
>>> CONST.MOHO.Incl
7
>>> CONST.TYLO.get_orbit(CONST.JOOL).period.seconds
211926.35960020457
>>> o = CONST.LAYTHE.get_orbit(CONST.JOOL)
>>> o.apoapsis
21184000
>>> o.periapsis
21184000
>>> o.apoapsis = 20000000
>>> o.apoapsis
21184000
>>> o.periapsis
20000000
>>> o.eccentricity
0.022262334536702677
>>> o.period
(2, 2, 14, 19)
>>> o.period.seconds
51259.648517710055


About

Orbital Mechanics tools for Kerbal Space Program

License:GNU General Public License v3.0


Languages

Language:Python 100.0%