hyperspyui._tools.multiselectiontool module

Created on Mon Aug 03 19:43:52 2015

@author: Vidar Tonaas Fauske

class hyperspyui._tools.multiselectiontool.MultiSelectionTool(windows=None)

Bases: hyperspyui._tools.signalfiguretool.SignalFigureTool

Tool to select multiple ROIs on a signal interactively. Simply click and drag in a figure to create an ROI. This can be done multiple times. Right- click the ROI to remove it. Press enter to indicate that the selection is complete, or ESC to cancel. The selection can also be aborted by simply selecting a different tool.

_add_widget(signal)
_cancel(signal)
_default_validator(signal, axes)
_get_rois(signal)
_on_change(widget, signal=None)
_remove_widget(widget, signal=None)
accept(signal)
accepted
cancel(signal=None)
cancelled
disconnect_windows(windows)
get_category()
get_icon()
get_name()
have_selection(signal)
is_selectable()
make_cursor()

Initialize the cursor for this instance. Is called in constructor.

ndim(signal)
on_keyup(event)
on_mousedown(event)
on_mouseup(event)
updated