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)#

Signal ROI Editor

setup_widget()#

Setup ROI editor widget

add_roi()#

Simply add an ROI

update_roi_titles()#

Update ROI annotation titles

static get_roi_item_coords(roi_item)#

Return ROI item coords

Image ROI editor#

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

Image ROI Editor

setup_widget()#

Setup ROI editor widget

add_roi(geometry: RoiDataGeometries = RoiDataGeometries.RECTANGLE)#

Add new ROI

update_roi_titles()#

Update ROI annotation titles

static get_roi_item_coords(roi_item)#

Return ROI item coords