Skip to main content

ssl_vista

Qt-based visualization app for simulation logs generated by ssl_simulator.

It loads a run with ssl_simulator.load_sim, builds a multi-panel window from a JSON layout, and plays the simulation back with PyVista (2D/3D scenes) and optional Matplotlib panels.

pip install ssl_vista

sslvista --list-layouts
sslvista --list-data
sslvista --layout 2d_canvas --data-path data_uny_test

Full documentation is in docs/ - see usage and data schema.

What it provides

  • CLI app: sslvista
  • Configurable multi-panel layout system (JSON)
  • Built-in PyVista plotters for 2D/3D scenes
  • Optional Matplotlib plotters loaded from Python files

Installation

Requires Python >= 3.12.

pip install ssl_vista

Optional extras:

Extra What it adds
mpl Matplotlib plotters and the ssl_vista.mpl helpers (Matplotlib + SciPy)
video Movie/animation export

Matplotlib is deliberately not a hard dependency - 2D plotting is expected to move to a GPU-backed stack. Importing ssl_vista.mpl without the extra raises a message telling you to install it.

Data it expects

Plotters look up simulation arrays by exact key, matching the flat names ssl_simulator logs:

Plotter Keys Shapes
Plotter2DCanvas p, theta (T, N, 2), (T, N)
Plotter3DCanvas p, R (T, N, 3), (T, N, 3, 3)
Plotter3DAttitude R (T, N, 3, 3)

Any label can be overridden per plotter in the layout's args. See docs/data-schema.md.

Quick start (development)

git clone https://github.com/Swarm-Systems-Lab/ssl_simulator_vista
cd ssl_simulator_vista
just setup

uv run sslvista --list-layouts
uv run sslvista --list-data
uv run sslvista --layout 2d_canvas --data-path data_uny_test

Common tasks - run just --list for the rest:

just test         # run the test suite
just lint         # ruff format + check
just docs         # serve the docs at http://localhost:8000

CLI usage in dev mode using uv:

uv run sslvista --help

License

MIT

Metadata

Release files for ssl-vista 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssl-vista 0.4.0
File Size Uploaded
ssl_vista-0.4.0.tar.gz 3.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssl-vista 0.4.0
File Interpreter ABI Platform
ssl_vista-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 MB

Release files / ssl_vista-0.4.0.tar.gz

Download URL ssl_vista-0.4.0.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
b9d415dc00c6d1a8f2b46788c8109d683902b5ed34f757b11f34de290a055815
BLAKE2b-256 checksum
How to use checksums
82bf1276197d2e7b39b2d95f4630f55abc84ae482a186817e0e469d7cf9582c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / ssl_vista-0.4.0-py3-none-any.whl

Download URL ssl_vista-0.4.0-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bc803e36c83d4ae110f61e09125c6ab3dc5947e05c5164ca137af754350bd9c6
BLAKE2b-256 checksum
How to use checksums
f95f4134be422e36ac7ca71d859292f44f2ce40ce3bd27e760c51e814a0b1eaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page