How stefan-korner/spacepylibrary works
SpacePyLibrary is a Python aerospace library whose modules cover CCSDS/PUS data units, mission telecommand and telemetry handling, ground/link interfaces, simulation, and operator interfaces. The tree and source index support a broad workflow from packet and command construction through transport and spacecraft/simulation handling, with UI modules for configuration and monitoring. The README does not document one prescribed application workflow; some links below are therefore limited to imports documented in the source index, and unsampled subsystems are represented only where the index or tree supports them.
Main entry points: TCGEN.py Telecommand generation · SIM.py Simulation application · ASW.py Spacecraft applications · TCgui.py Telecommand GUI
Components 27
Protocol data
- Binary data units
UTIL/DU.py - CCSDS data units
CCSDS/DU.py - CCSDS packets
CCSDS/PACKET.py - CCSDS time formats
CCSDS/TIME.py - PUS packets
PUS/PACKET.py - PUS services
PUS/SERVICES.py - Frame and packet assembly
CCSDS
Ground and transport
- Ground interface
GRND/IF.py - NCTRS transport
GRND/NCTRS.py - NCTRS data units
GRND/NCTRSDU.py - TM/TC link
LINK/TMTC.py - EGSE interfaces
EGSE/IF.py - CNC transport
EGSE/CNC.py - EDEN transport
EGSE/EDEN.py
Mission and simulation
- Mission control interface
MC/IF.py - Telecommand generation
MC/TCGEN.py - Spacecraft interface
SPACE/IF.py - Spacecraft applications
SPACE/ASW.py - Simulation application
SIM.py - Mission definitions
SUPP/IF.py - SCOS mission database
SCOS/MIB.py
Operator interfaces
- Task runtime
UTIL/TASK.py - Tk interface framework
UI/TKI.py - Telecommand GUI
MCUI/TCgui.py - Spacecraft GUI
SPACEUI/SPACEgui.py - Variable parameters
PUS/VP.py
Other components
- Operator or client
Connections 33
- CCSDS data units → Binary data units: extends binary units
CCSDS/DU.py - CCSDS data units → CCSDS time formats: converts timestamps
CCSDS/DU.py - CCSDS packets → CCSDS data units: builds packets on
CCSDS/PACKET.py - PUS packets → CCSDS packets: specializes packets
PUS/PACKET.py - PUS services → CCSDS packets: uses packet definitions
PUS/SERVICES.py - Frame and packet assembly → TM/TC link: supports link framing
LINK/TMTC.py - TM/TC link → Ground interface: uses ground interface
LINK/TMTC.py - TM/TC link → Spacecraft interface: uses spacecraft interface
LINK/TMTC.py - NCTRS transport → Ground interface: implements interface
GRND/NCTRS.py - NCTRS transport → NCTRS data units: uses data units
GRND/NCTRS.py - CNC transport → EGSE interfaces: implements interface
EGSE/CNC.py - EDEN transport → EGSE interfaces: implements interface
EGSE/EDEN.py - Telecommand generation → Mission control interface: uses mission interface
MC/TCGEN.py - Telecommand generation → PUS packets: constructs PUS packets
MC/TCGEN.py - Telecommand generation → PUS services: uses service definitions
MC/TCGEN.py - Telecommand generation → Mission definitions: uses mission definitions
MC/TCGEN.py - Spacecraft applications → Spacecraft interface: implements spacecraft behavior
SPACE/ASW.py - Spacecraft applications → PUS packets: handles PUS packets
SPACE/ASW.py - Spacecraft applications → PUS services: uses service definitions
SPACE/ASW.py - SCOS mission database → Mission definitions: supplies mission definitions
- Simulation application → NCTRS data units: uses ground data units
SIM.py - Simulation application → TM/TC link: uses link stack
SIM.py - Simulation application → Spacecraft interface: uses spacecraft interface
SIM.py - Simulation application → Spacecraft applications: hosts spacecraft behavior
- Task runtime → Tk interface framework: updates registered views
UI/TKI.py - Telecommand GUI → Mission control interface: uses mission interface
MCUI/TCgui.py - Telecommand GUI → Variable parameters: uses variable parameters
MCUI/TCgui.py - Telecommand GUI → Tk interface framework: uses GUI framework
MCUI/TCgui.py - Spacecraft GUI → Spacecraft interface: uses spacecraft interface
SPACEUI/SPACEgui.py - Spacecraft GUI → Variable parameters: uses variable parameters
SPACEUI/SPACEgui.py - Spacecraft GUI → Tk interface framework: uses GUI framework
SPACEUI/SPACEgui.py - Operator or client → Telecommand GUI: operates commands
- Operator or client → Spacecraft GUI: monitors spacecraft