rizer.boulder_plugin.panes#
Boulder output pane with the rizer plasma diagnostics.
Adds a “Plasma” tab to Boulder’s results area, shown only while a rizer
plasma node (PlasmaReactor2T / HybridDischarge2T) is selected in the
network graph. Renders native interactive Plotly figures (the same widget the
built-in Plots tab uses) fed from the recording stage network’s states,
stacked one panel per row: electron vs gas temperature, electron density,
plasma voltage, radius / power balance — quantities the standard T/P/X plots
cannot show. Electrical signal comparisons (generator vs plasma voltage,
currents) live in the companion Scope pane
(rizer.boulder_plugin.scope).
Classes#
The Plasma results tab for the selected rizer plasma reactor node. |
Module Contents#
- class rizer.boulder_plugin.panes.RizerPlasmaPane#
Bases:
boulder.output_pane_plugins.OutputPanePluginThe Plasma results tab for the selected rizer plasma reactor node.
- property supported_node_types: List[str] | None#
Reactor kinds this plugin applies to (None = any).
When set (and
requires_selectionis True), the GUI only shows the plugin’s tab while a node of one of these STONE kinds is selected (e.g.["MyReactorKind"]).
- is_available(context: boulder.output_pane_plugins.OutputPaneContext) bool#
Check if this plugin should be available given the current context.
- Parameters:
context – Current context information.
- Returns:
True if the plugin should be shown, False otherwise.
- Return type:
- create_content_data(context: boulder.output_pane_plugins.OutputPaneContext) Dict[str, Any]#
Create JSON-serialisable content data for this output pane.
The returned dictionary should describe the content to render. Common shapes:
{"type": "image", "src": "data:image/png;base64,...", "alt": "..."}{"type": "text", "content": "..."}{"type": "error", "title": "...", "message": "..."}
- Parameters:
context – Current context information.
- Returns:
JSON-serialisable content descriptor.
- Return type: