hyperspyui.plugins.croptool module

Created on Sun Dec 07 02:03:23 2014

@author: Vidar Tonaas Fauske

class hyperspyui.plugins.croptool.CropTool(windows=None, name=None, category=None, icon=None, description=None)

Bases: SelectionTool

Tool to crop signal interactively. Simply click and drag in a figure to create an ROI, and then press enter to apply cropping operation, or ESC to abort cropping. The cropping can also be aborted simply by selecting a different tool.

get_icon()
get_name()
make_cursor()

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

class hyperspyui.plugins.croptool.CropToolPlugin(main_window)

Bases: Plugin

create_tools()
crop(roi, signal=None, axes=None)
name = 'Crop tool'