hyperspyui.plugins.imagerotation module

Created on Wed Jan 21 14:49:08 2015

@author: Vidar Tonaas Fauske

class hyperspyui.plugins.imagerotation.ImageRotationDialog(signal, axes, parent, plugin)

Bases: hyperspyui.widgets.extendedqwidgets.ExToolWindow

_axes_in_nav()
close_new(value=False)
connect()
connect_update_plot(signal, disconnect=False)
create_controls()

Create UI controls.

disconnect(QMetaObject.Connection) bool
disconnect(self) None
ok()
set_preview(value)
update(self)
update(self, QRect) None
update(self, QRegion) None
ImageRotationDialog.update(self, int, int, int, int) -> None
class hyperspyui.plugins.imagerotation.ImageRotation_Plugin(main_window)

Bases: hyperspyui.plugins.plugin.Plugin

create_actions()
create_menu()
create_toolbars()
name = 'Image Rotation'
on_dialog_accept()
rotate_signal(angle, signal=None, reshape=False, out=None, record=True, *args, **kwargs)
selection_rules(win, action)

Callback to determine if rotation is valid for the passed window.

show_rotate_dialog()
hyperspyui.plugins.imagerotation.tr(text)