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.

save()
hyperspy.defaults_parser.config = <configparser.ConfigParser object>
hyperspy.defaults_parser.config2 = <configparser.ConfigParser object>
hyperspy.defaults_parser.config2template(template, config)
hyperspy.defaults_parser.defaults_file = '/home/francisco/.hyperspy/hyperspyrc'
hyperspy.defaults_parser.defaults_file_exists = True
hyperspy.defaults_parser.dictionary_from_template(template)
hyperspy.defaults_parser.eels_gos_files = '/home/francisco/Git/hyperspy/hyperspy/misc/../data/EELS_GOS.tar.gz'
hyperspy.defaults_parser.file_version(fname)
hyperspy.defaults_parser.guess_gos_path()
hyperspy.defaults_parser.preferences = <hyperspy.defaults_parser.Preferences object>
hyperspy.defaults_parser.rewrite = False
hyperspy.defaults_parser.template = {'EDS': <hyperspy.defaults_parser.EDSConfig object>, 'EELS': <hyperspy.defaults_parser.EELSConfig object>, 'GUIs': <hyperspy.defaults_parser.GUIs object>, 'General': <hyperspy.defaults_parser.GeneralConfig object>, 'Plot': <hyperspy.defaults_parser.PlotConfig object>}
hyperspy.defaults_parser.template2config(template, config)