hyperspyui.plugins.basicspectrum module

Created on Sun Mar 01 15:20:55 2015

@author: Vidar Tonaas Fauske

class hyperspyui.plugins.basicspectrum.BasicSpectrumPlugin(main_window)

Bases: Plugin

_adjust_components_state_update(win, action)
_plot_components_state_update(win, action)
_toggle_fixed_height(floating)
adjust_component_position(model=None)

Add widgets to adjust the position of the components in the model.

create_actions()
create_menu()
create_toolbars()
create_tools()
create_widgets()
estimate_thickness(signal=None)
filter_butterworth(signal=None)
fourier_ratio()
hanning_taper(signal=None)
name = 'Basic spectrum tools'
pick_element(element, signal=None)
plot_components(model=None)

Plot the function of each component together with the model.

remove_background(signal=None)
smooth_lowess(signal=None)
smooth_savitzky_golay(signal=None)
smooth_tv(signal=None)
class hyperspyui.plugins.basicspectrum.ElementPickerTool(windows=None)

Bases: SignalFigureTool

get_category()
get_icon()
get_name()
is_selectable()
on_mouseup(event)
on_pick_line(line)
picked

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

class hyperspyui.plugins.basicspectrum.Namespace

Bases: object

hyperspyui.plugins.basicspectrum.tr(text)