hyperspy.defaults_parser module

class hyperspy.defaults_parser.EDSConfig

Bases: traits.has_traits.HasTraits

class hyperspy.defaults_parser.EELSConfig

Bases: traits.has_traits.HasTraits

class hyperspy.defaults_parser.GUIs

Bases: traits.has_traits.HasTraits

class hyperspy.defaults_parser.GeneralConfig

Bases: traits.has_traits.HasTraits

class hyperspy.defaults_parser.PlotConfig

Bases: traits.has_traits.HasTraits

class hyperspy.defaults_parser.Preferences

Bases: traits.has_traits.HasTraits

gui(display=True, toolkit=None, **kwargs)

Display or return interactive GUI element if available.

Parameters
  • display (bool) – If True, display the user interface widgets. If False, return the widgets container in a dictionary, usually for customisation or testing.

  • toolkit (str, iterable of strings or None) – If None (default), all available widgets are displayed or returned. If string, only the widgets of the selected toolkit are displayed if available. If an interable of toolkit strings, the widgets of all listed toolkits are displayed or returned.