Skip to content

Both GUI and CLI tutorials as well as ipynb - #36

Merged
rdsza merged 18 commits into
mainfrom
docs-updates
May 27, 2026
Merged

Both GUI and CLI tutorials as well as ipynb#36
rdsza merged 18 commits into
mainfrom
docs-updates

Conversation

@sonyahanson

Copy link
Copy Markdown
Collaborator

This PR adds both GUI and CLI tutorials. The end of each links to the same jupyter notebook for more in depth analysis of the data.

sonyahanson and others added 18 commits October 30, 2025 18:01
Adding the notebook for Ryr Demo dataset visualization
The notebook's VBox/ipywidget cells were rendering blank when viewed on
GitHub or exported to PDF, because widgets require a live kernel. This
moves the ~470 lines of inline plotting and widget-wiring code out of
Visualization_Notebook.ipynb into a new visualization.py module, and
adds a top-level INTERACTIVE switch:

  INTERACTIVE = False  → static plots (Plotly→PNG via kaleido + matplotlib)
                         that render on GitHub. Default for the shared notebook.
  INTERACTIVE = True   → live ipywidgets viewers (clickable S2 sphere, PrD
                         slider, ψ slider) for local use on user data.

Each substantive code cell collapses to a single `viz.show_*()` call.

A VizSession class owns the cross-cell widget state (sphere ↔ PrD slider
sync, CC voting recolouring the sphere diamonds) that previously had to
live as notebook globals.

Setup cell also pulls in kaleido (Plotly static-PNG export), h5py, and
pillow.
@rdsza
rdsza merged commit 171e60b into main May 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants