Plugins

PyStream’s core plugins for viewing, measuring, and processing image data.

Adding a plugin

  1. Add a Python module under src/pystream/plugins/.

  2. Define a QDialog or QWidget class with class attribute BUTTON_TEXT = "...". Most plugins also set HANDLER_TYPE = 'singleton'.

  3. Wire the button into the main toolbar in src/pystream/pystream.py — copy an existing handler such as _open_metrics() and adapt.