v1.1.0
Version 1.1
Sigima Version 1.1.0
✨ New features and enhancements:
-
Stub server: Added missing methods to
DataLabStubServerto support new DataLab features- Added
remove_object()method (removes an object from DataLab) - Added
call_method()method (simulates calling a method on DataLab's main interface or panels)
- Added
-
Test infrastructure: Refactored visualization code in test suite for better maintainability
- Centralized PlotPy visualization utilities in
sigima.vizmodule - Added standardized helper functions:
create_curve(),create_image(),create_circle(),create_segment(),create_cursor(),create_marker(), andcreate_contour_shapes() - Updated all interactive test functions to use the new unified API instead of direct PlotPy builder calls
- Improved code consistency across signal and image test modules
- Centralized PlotPy visualization utilities in
-
Visualization backend flexibility: Added support for Matplotlib as an alternative to PlotPy for test visualizations
- New configuration option
viz_backendto select visualization library ("auto", "plotpy", or "matplotlib") - Environment variable
SIGIMA_VIZ_BACKENDcan override configuration - Automatic fallback from PlotPy to Matplotlib when PlotPy is not available
- Backend information exposed via
sigima.viz.BACKEND_NAMEandBACKEND_SOURCE - Matplotlib backend provides stubs for unsupported functions (raises
NotImplementedError) - Unit test ensures API compatibility between backends
- New configuration option
-
Jupyter notebook HTML representation: Added rich HTML display for Sigima objects in Jupyter notebooks
SignalObjdisplays shape, dtype, X/Y ranges, axis labels, and title in a formatted tableImageObjdisplays shape, dtype, value range, origin, pixel spacing, extent, axis labels, and title- ROI objects (
BaseSingleROI,BaseROI) display their geometric properties BaseCoordinatesand derived classes display point coordinatesTableResultandGeometryResultdisplay result data with source object information- Centralized CSS styling in
HTML_TABLE_CSSconstant for consistent appearance