Scientific desktop application for lunar rover traversal planning and terrain analysis.
Project description
Cynthium
Scientific desktop application for lunar rover traversal planning and terrain analysis, focused on the lunar south pole.
Cynthium enables loading lunar elevation data (20 m/px LOLA/LRO GeoTIFFs), defining rover traversal paths, and computing terrain statistics along those paths. It is designed for scientific use cases where map resolution, numerical accuracy, and reproducibility are critical.
Note: Cynthium is still in beta. Things may break, change, or be missing. If something doesn't work or you have an idea, open an issue at github.com/osh3276/cynthium/issues and describe what you ran into.
Features
- Multi-dimensional Visualization: 2D map views and 3D terrain visualisation using GeoTIFF data (LOLA / LRO).
- Advanced Pathfinding: Optimal path routing using A* or Dijkstra, considering distance, terrain slope, solar illumination, meteor flux, and temperature.
- Rover Simulation: Physics-based traversal simulation including energy consumption, velocity, and slope-based hazards.
- Illumination Analysis: Sun position calculation and shadow mapping for specific lunar dates and times using NASA SPICE.
- Site Management: Automated handling of lunar site rasters and data products.
- Data Export: Export traversal statistics and simulation results for further scientific analysis.
Installation
Prerequisites
- Python 3.12 or newer.
pip Install (from PyPI)
pip install cynthium
Editable Install (from source)
git clone https://github.com/osh3276/cynthium.git
cd cynthium
pip install -e .
Key dependencies include: PySide6, numpy, rasterio, pyqtgraph,
PyVista, and spiceypy.
Usage
Launch Cynthium from the terminal:
cynthium
Or equivalently:
python -m cynthium
The main window opens with a sidebar on the left, a 2D map view in the centre, and a menu bar at the top.
Workflow
- Load a Site — In the sidebar, select a preset lunar site (e.g. Haworth, Shackleton rim, Nobile rim 1). A 20 m/px elevation tile loads automatically.
- Select a Map Layer — Switch between visualisations: elevation, slope, hillshade, solar illumination, meteor flux, or temperature.
- Plan a Path — Click on the 2D map to place start and goal points, then click Autopath. The optimal route is overlaid on the map. You can tune pathfinding with weights for slope, sun, meteor flux, and temperature, and choose between A* and Dijkstra.
- Configure the Rover — Adjust mass, power, wheel friction, and rolling resistance in the rover settings panel.
- Run a Simulation — Hit Run Simulation to execute a physics-based 1D rover traverse. Results include distance, velocity, traversal time, solar energy received, and feasibility.
- Inspect in 3D — Switch to the 3D Terrain View tab to see the path draped over the digital elevation model.
- Export Results — Save simulation statistics as CSV for external analysis.
Troubleshooting
No path found / path too short The start or goal may be on an untraversable pixel (e.g. a shadowed crater interior). Try moving the points to a ridge or sunlit area.
Rover gets stuck on a seemingly gentle slope The friction coefficient determines max climbable slope. Increase friction or reduce rover mass.
Data files not found
Cynthium will attempt to download missing files via pooch on first use.
Ensure you have an internet connection for the initial fetch.
Related Work
SEXTANT is a MATLAB-based tool with similar capabilities. Cynthium aims to provide an open-source Python alternative with a focus on extensibility, high performance, and modern GIS compatibility.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cynthium-1.2.1b0.tar.gz.
File metadata
- Download URL: cynthium-1.2.1b0.tar.gz
- Upload date:
- Size: 60.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff8ce80ba43eb5dad806924ee8697f260ca4edcdec2f119b04387571f2202502
|
|
| MD5 |
a87ee2bbcfb27cb6cf2bed6ccbdc9626
|
|
| BLAKE2b-256 |
4af3fe84e5d30dd84691a130c2b01d8cbef4a7e6816cd150d7c6655c7e2f27c6
|
File details
Details for the file cynthium-1.2.1b0-py3-none-any.whl.
File metadata
- Download URL: cynthium-1.2.1b0-py3-none-any.whl
- Upload date:
- Size: 75.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869e518fd3d43ced7403e7a5560f069957d053daec7a6976254229b14fb68922
|
|
| MD5 |
22ecb7b87ba60cae91fde16439763324
|
|
| BLAKE2b-256 |
6181ec30eb56c8bcb5132d34779332e8e825cf638629c95042a3fa6de853ed51
|