Cynthium
Scientific desktop app for lunar rover traversal planning and terrain analysis at the lunar south pole. Loads 20 m/px LOLA/LRO GeoTIFFs, plans paths, and computes terrain statistics along them.
Beta. If something doesn't work, open an issue at github.com/osh3276/cynthium/issues.
Features
- 2D map + 3D terrain views with cursor tooltip showing raster values
- Layer manager — elevation, slope, hillshade, illumination (monthly/daily avg), meteor flux, temperature, permanently shaded regions
- Waypoint management — editable table with per-waypoint pause durations, live on the map
- Pathfinding — A*/Dijkstra over a 16-connected grid using slope, illumination, meteor flux, and temperature costs. Weighted or minimax strategy. Optional 4× bicubic upsampling for 5 m/px effective resolution
- Rover simulation — 4-wheel skid-steer with stop-pivot-go, PID speed control, resistive motor model, and battery drain. Configurable mass, power, friction, wheel geometry, motor torque, damping, and more
- Illumination analysis — sun position and shadow mapping via NASA SPICE
- Data export — paths, simulation stats, and full session settings as CSV/JSON
- Custom GeoTIFF import with CRS validation
- Site rasters auto-download via pooch on first use
Install
git clone https://github.com/osh3276/cynthium.git
cd cynthium
pip install -e .
Requires Python ≥3.12 and a C/C++ compiler (for rasterio).
Usage
cynthium
- Load a site — pick a preset (Haworth, Shackleton rim, Nobile rim 1, ...)
- Choose a map layer — elevation, slope, illumination, etc.
- Plan a path — place waypoints on the map, click Autopath. A progress dialog keeps the UI responsive while the computation runs in a background thread
- Configure the rover — select a preset or open Tools → Rover Settings
- Run a simulation — click Run Simulation. Results in Path / Slope / Environment tabs with traverse time, battery stats, failure point, and more
- Inspect in 3D — switch to the Terrain View tab
- Export — paths, simulation data, or full session settings
Troubleshooting
No path found — start or goal may be on an untraversable pixel. Try moving to a ridge or sunlit area.
Rover gets stuck — max climbable slope is the minimum of traction (μ − Crr), power, and torque limits. Increase μ, reduce mass, increase power, or increase motor torque.
Data files not found — Cynthium downloads them via pooch on first use. Needs internet.
Related Work
SEXTANT is a MATLAB tool with similar goals. Cynthium is an open-source Python alternative.
Metadata
Release files for cynthium 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cynthium-1.2.3.tar.gz | 84.8 kB | Without provenance | Details for cynthium-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cynthium-1.2.3-py3-none-any.whl | Python 3 | none | any | Details for cynthium-1.2.3-py3-none-any.whl |
Total release size: 189.0 kB
Release files / cynthium-1.2.3.tar.gz
| Download URL | cynthium-1.2.3.tar.gz |
|---|---|
| Size | 84.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62e7fdd66e99d5420895499b9e598249829f99396190a2e3742c29a4903eb798
|
|
BLAKE2b-256 checksum How to use checksums |
19c356cc230b153504f4abf72ea3a1410b4d507b842f0046b601806f3de68e0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / cynthium-1.2.3-py3-none-any.whl
| Download URL | cynthium-1.2.3-py3-none-any.whl |
|---|---|
| Size | 104.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73b258a6989806a5cbc39fad66fcfc3b70cfac44dc05d01591112f16720e71eb
|
|
BLAKE2b-256 checksum How to use checksums |
face3f3a13914847251bb2124765911d6db4364627d32050607bbb84b3986397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for cynthium 1.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.