Tools¶
Tools provide different ways to evaluate data.
All tools extend the BaseTool class, guaranteeing basic functionality.
-
class
pyseus.tools.BaseTool(app)¶ Defines the basic functionality for RoI evaluation functions.
-
clear()¶ Resets region of interest, image overlays and result display.
-
draw_overlay(pixmap)¶ Draws the tool specific overlay on the displayed image.
-
end_roi(x, y)¶ End marking a region of interest (on mouse button up).
-
recalculate(data)¶ Evaluates the data in the set region of interest.
Add the mode to the menu bar in the main window.
-
classmethod
start(app)¶ Set the respective mode as active.
-
start_roi(x, y)¶ Start marking a region of interest (on mouse button down).
-
Custom Tools¶
Just extend the BaseTool class and add the class to the PySeus.tools list.