Plugins
PyStream’s core plugins for viewing, measuring, and processing image data.
HDF5 Viewer — view HDF5 image stacks with flat-field correction.
Rectangle ROI, Ellipse ROI, Line Profile — region selection and intensity profiles.
Scale Bar — calibrated scale-bar overlay.
Python Console — run Python on the live image.
Image Metrics — live image-quality metrics.
Mosaic Alignment — 2D motor scan with stitched preview.
Adding a plugin
Add a Python module under
src/pystream/plugins/.Define a
QDialogorQWidgetclass with class attributeBUTTON_TEXT = "...". Most plugins also setHANDLER_TYPE = 'singleton'.Wire the button into the main toolbar in src/pystream/pystream.py — copy an existing handler such as
_open_metrics()and adapt.