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.3.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.3.0
File Size Uploaded
ssl_vista-0.3.0.tar.gz 3.5 MB Details

Built distribution (wheel)

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

Total release size: 6.9 MB

Release files / ssl_vista-0.3.0.tar.gz

Download URL ssl_vista-0.3.0.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d92792598ed68db77568ca0fef40d774f51e870dffecd50dbf535034af5b6a42
BLAKE2b-256 checksum
How to use checksums
00312f712b16d49f79c239c1b1075c755518a4100712da4546ab46491ed1f620
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.3.0-py3-none-any.whl

Download URL ssl_vista-0.3.0-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b53b2f921dcb42f852c8a80fc9eb9e7a873bcb08aa0a54685b399784ea3bd193
BLAKE2b-256 checksum
How to use checksums
dd7e320176a899de67ba8448d0b0c4daebd07f3d6f610b41de98f3dfcbfcd83a
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

0.4.0

2 release files

This release

0.3.0 This release

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