hyperspy.gui package

Submodules

hyperspy.gui.axes module

hyperspy.gui.axes.get_axis_group(n, label='')
hyperspy.gui.axes.navigation_sliders(data_axes, title=None)

Raises a windows with sliders to control the index of DataAxis

Parameters:data_axes (list of DataAxis instances) –

hyperspy.gui.eds module

class hyperspy.gui.eds.SEMParametersUI

Bases: traits.has_traits.HasTraits

class hyperspy.gui.eds.TEMParametersUI

Bases: traits.has_traits.HasTraits

hyperspy.gui.eels module

class hyperspy.gui.eels.TEMParametersUI

Bases: traits.has_traits.HasTraits

hyperspy.gui.egerton_quantification module

class hyperspy.gui.egerton_quantification.BackgroundRemoval(signal)

Bases: hyperspy.gui.tools.SpanSelectorInSignal1D

apply()
bg_to_plot(axes_manager=None, fill_with=nan)
create_background_line()
on_disabling_span_selector()
set_background_estimator()
span_selector_changed()
class hyperspy.gui.egerton_quantification.DerivativeTextHandler

Bases: object

legend_artist(legend, orig_handle, fontsize, handlebox)
class hyperspy.gui.egerton_quantification.DerivativeTextParameters(text, color)

Bases: object

class hyperspy.gui.egerton_quantification.SpikesRemoval(signal, navigation_mask=None, signal_mask=None)

Bases: hyperspy.gui.tools.SpanSelectorInSignal1D

apply()
create_interpolation_line()
detect_spike()
find(back=False)
get_interpolated_spectrum(axes_manager=None)
get_interpolation_range()
interpolator = None
on_disabling_span_selector()
span_selector_changed()
thisApplyButton = <traitsui.menu.Action object>
thisFindButton = <traitsui.menu.Action object>
thisOKButton = <traitsui.menu.Action object>
thisPreviousButton = <traitsui.menu.Action object>
update_plot()
update_spectrum_line()
class hyperspy.gui.egerton_quantification.SpikesRemovalHandler

Bases: traitsui.handler.Handler

apply(info, *args, **kwargs)

Handles the Apply button being clicked.

back(info, *args, **kwargs)

Handles the Next button being clicked.

close(info, is_ok)
find(info, *args, **kwargs)

Handles the Next button being clicked.

hyperspy.gui.messages module

class hyperspy.gui.messages.Message(text)

Bases: traits.has_traits.HasTraits

class hyperspy.gui.messages.MessageHandler

Bases: traitsui.handler.Handler

close(info, is_ok)
class hyperspy.gui.messages.MessageWithOptions(text, options)

Bases: hyperspy.gui.messages.Message, hyperspy.gui.messages.Options

class hyperspy.gui.messages.Options(options=None)

Bases: traits.has_traits.HasTraits

hyperspy.gui.messages.information(text)
hyperspy.gui.messages.options(options_)

hyperspy.gui.preferences module

class hyperspy.gui.preferences.PreferencesHandler

Bases: traitsui.handler.Handler

close(info, is_ok)

hyperspy.gui.tools module

class hyperspy.gui.tools.ButterworthFilter(signal)

Bases: hyperspy.gui.tools.Smoothing

model2plot(axes_manager=None)
class hyperspy.gui.tools.CalibrationHandler

Bases: hyperspy.gui.tools.SpanSelectorInSignal1DHandler

apply(info, *args, **kwargs)

Handles the Apply button being clicked.

class hyperspy.gui.tools.ComponentFit(model, component, signal_range=None, estimate_parameters=True, fit_independent=False, only_current=True, **kwargs)

Bases: hyperspy.gui.tools.SpanSelectorInSignal1D

apply()
class hyperspy.gui.tools.ImageContrastEditor(image)

Bases: traits.has_traits.HasTraits

apply()
close()
on_disabling_span_selector()
plot_histogram()
reset()
span_selector_switch(on)
update_histogram()
update_span_selector_traits(*args, **kwargs)
class hyperspy.gui.tools.ImageContrastHandler

Bases: traitsui.handler.Handler

apply(info)

Handles the Apply button being clicked.

close(info, is_ok)
static our_help(info)

Handles the Apply button being clicked.

static reset(info)

Handles the Apply button being clicked.

class hyperspy.gui.tools.IntegrateArea(signal, signal_range=None)

Bases: hyperspy.gui.tools.SpanSelectorInSignal1D

apply()
class hyperspy.gui.tools.LineInSignal1D(signal)

Bases: traits.has_traits.HasTraits

Adds a vertical draggable line to a spectrum that reports its position to the position attribute of the class.

position : float
The position of the vertical line in the one dimensional signal. Moving the line changes the position but the reverse is not true.
on : bool
Turns on and off the line
color : wx.Colour
The color of the line. It automatically redraws the line.
draw()
switch_on_off(obj, trait_name, old, new)
update_position(*args, **kwargs)
class hyperspy.gui.tools.Load

Bases: traits.has_traits.HasTraits

class hyperspy.gui.tools.Signal1DCalibration(signal)

Bases: hyperspy.gui.tools.SpanSelectorInSignal1D

class hyperspy.gui.tools.Signal1DRangeSelector(signal)

Bases: hyperspy.gui.tools.SpanSelectorInSignal1D

class hyperspy.gui.tools.Signal1DRangeSelectorHandler

Bases: traitsui.handler.Handler

apply(info, *args, **kwargs)

Handles the Apply button being clicked.

close(info, is_ok)
class hyperspy.gui.tools.Smoothing(signal)

Bases: traits.has_traits.HasTraits

close()
diff_model2plot(axes_manager=None)
line_color_rgb
plot()
turn_diff_line_off()
turn_diff_line_on(diff_order)
update_lines()
class hyperspy.gui.tools.SmoothingHandler

Bases: traitsui.handler.Handler

close(info, is_ok)
class hyperspy.gui.tools.SmoothingLowess(*args, **kwargs)

Bases: hyperspy.gui.tools.Smoothing

apply()
model2plot(axes_manager=None)
class hyperspy.gui.tools.SmoothingSavitzkyGolay(signal)

Bases: hyperspy.gui.tools.Smoothing

apply()
diff_model2plot(axes_manager=None)
model2plot(axes_manager=None)
class hyperspy.gui.tools.SmoothingTV(signal)

Bases: hyperspy.gui.tools.Smoothing

model2plot(axes_manager=None)
class hyperspy.gui.tools.SpanSelectorInSignal1D(signal)

Bases: traits.has_traits.HasTraits

on_disabling_span_selector()
reset_span_selector()
span_selector_switch(on)
update_span_selector_traits(*args, **kwargs)
class hyperspy.gui.tools.SpanSelectorInSignal1DHandler

Bases: traitsui.handler.Handler

apply(info, *args, **kwargs)

Handles the Apply button being clicked.

close(info, is_ok)
close_directly(info)
next(info, *args, **kwargs)

Handles the Next button being clicked.

Module contents

hyperspy.gui.set_ets_toolkit(toolkit)