SkillAgentSearch skills...

Spaceman3D

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

Install / Use

/learn @Jaseibert/Spaceman3D
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Version License Python Downloads Build Status

Author: Jeremy Seibert<br/> License: MIT<br/>

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.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated8mo ago
Forks3

Languages

Python

Security Score

77/100

Audited on Jul 17, 2025

No findings