ROI editor#

The cdl.core.gui.roieditor module provides the ROI editor widgets for signals and images.

Signal ROI editor#

class cdl.core.gui.roieditor.SignalROIEditor(parent: PlotDialog, obj: AnyObj, extract: bool, singleobj: bool | None = None)[source]#

Signal ROI Editor

build_roi_buttons() list[QToolButton | QFrame][source]#

Build ROI buttons

setup_widget()[source]#

Setup ROI editor widget

add_roi()[source]#

Simply add an ROI

update_roi_titles()[source]#

Update ROI annotation titles

static get_roi_item_coords(roi_item)[source]#

Return ROI item coords

Image ROI editor#

class cdl.core.gui.roieditor.ImageROIEditor(parent: PlotDialog, obj: AnyObj, extract: bool, singleobj: bool | None = None)[source]#

Image ROI Editor

build_roi_buttons() list[QToolButton | QFrame][source]#

Build ROI buttons

setup_widget()[source]#

Setup ROI editor widget

add_roi(geometry: RoiDataGeometries = RoiDataGeometries.RECTANGLE)[source]#

Add new ROI

update_roi_titles()[source]#

Update ROI annotation titles

static get_roi_item_coords(roi_item)[source]#

Return ROI item coords