exspy#

exspy.__version__#

The version of the eXSpy package.

Type:

str

exspy.preferences#

The global preferences for eXSpy, where the default settings are stored.

Examples

To set a preference value, for example setting the EDS detector elevation angle to 15 degrees:

>>> exspy.preferences.EDS.eds_detector_elevation = 15.0

To open the preferences dialog. Requires GUI widgets, to enable them see the hyperspy documentation for configuring HyperSpy.

>>> exspy.preferences.gui()
../_images/EDS_preferences_gui.png

EDS preferences window#

eXSpy preferences#

The exspy preferences has two configuration tabs for EDS and EELS:

class exspy._defaults_parser.EDSConfig#

Bases: HasTraits

Configuration options for EDS.

eds_mn_ka#

Energy resolution at Mn Ka in eV.

Type:

float

eds_tilt_stage#

Stage tilt in degree.

Type:

float

eds_detector_azimuth#

Azimuth angle in degree.

Type:

float

eds_detector_elevation#

Elevation angle in degree.

Type:

float

class exspy._defaults_parser.EELSConfig#

Bases: HasTraits

Configuration options for EELS.

eels_gos_files_path#

Path to the directory containing the Hartree-Slater GOS files as provided by Gatan DigitalMicrograph Suite v1.x and v2.x, more recent versions are not supported.

Type:

str