Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Spaceman3D-0.1.0.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

Spaceman3D-0.1.0-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

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