hyperspy.utils package

Submodules

hyperspy.utils.eds module

hyperspy.utils.markers module

Markers that can be added to Signal plots.

Example

>>> import scipy.misc
>>> im = hs.signals.Signal2D(scipy.misc.lena())
>>> m = hs.plot.markers.rectangle(x1=150, y1=100, x2=400, y2=400, color='red')
>>> im.add_marker(m)

hyperspy.utils.material module

hyperspy.utils.model module

Model functions.

The model module contains the following submodules:

components
Components for HyperSpy model.

hyperspy.utils.plot module

Plotting funtions.

Functions:

plot_spectra, plot_images
Plot multiple spectra/images in the same figure.
plot_signals
Plot multiple signals at the same time.
plot_histograms
Compute and plot the histograms of multiple signals in the same figure.

The plot module contains the following submodules:

markers
Markers that can be added to Signal plots.

Module contents

Functions that operate of Signal instances and other goodies.

stack
Stack Signal instances.

Subpackages:

material
Tools related to the material under study.
plot
Tools for plotting.
eds
Tools for energy-dispersive X-ray data analysis.
example_signals
A few example of signal