Skip to content

Jaseibert/spaceman3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version License Python Downloads Build Status

Author: Jeremy Seibert
License: MIT

Spaceman3D

Spaceman3D is a python package that accomplishes several unique tasks within the space of Astrodynamics (pun intended). The package gives users the ability to parse satellite Two-Line Element (TLE) Data into its Ballistic, Keplerian, and satellite identifying orbital elements. Beyond, this SpaceMan uses a Matplotlib 3D plotting toolkit to plot the orbit of the satellites.

Spaceman3D Demo

Basic Plotting Functionality

The plotting functionality mentioned below is accessed through the Draw() module.

from spaceman3D.Draw import Draw
from spaceman3D.Orbit import satellites

#Create a class instance of Draw()
d = Draw()

#Call the draw Orbit function
d.draw_orbit(satellites.ISS, satellites.Dragon)

#or What would the Satellite look like around the Moon
d.draw_orbit(satellites.Dragon, object='Moon')

Using the code above will output an image that resembles this:

alt text

Along with this, by calling the draw_orbit(element ,print_info=True) you will print out the keplerian elements used to calculate the satellites trajectory.

alt text

Basic TLE Parser Functionality

from spaceman3D.Orbit import tle, satellites

#Create a class instance of tle()
t = tle()

#Call the satellite elements function
t.tle_satellite_elements(satellites.ISS, satellites.Dragon, print_info=True)

Orbital Mechanic's Resources

I know that I struggled to find resources explaining the mathematics used within Astrodynamics and orbital mechanics, so I have included the "PackageCalculations.txt" file that explains the mathematics behind the functions in Orbit.py and tle.py and the logic behind each function.

About

Space man is a Package that parses satellite Two-Line Element (TLE) Data and creates 3D plots of the satellite's orbits.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages