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.
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.
-
save
()¶
-
-
hyperspy.defaults_parser.
config2template
(template, config)¶
-
hyperspy.defaults_parser.
dictionary_from_template
(template)¶
-
hyperspy.defaults_parser.
file_version
(fname)¶
-
hyperspy.defaults_parser.
guess_gos_path
()¶
-
hyperspy.defaults_parser.
template2config
(template, config)¶