hyperspy.components2d module

Components that can be used to define a 2D model for e.g. curve fitting.

There are some components that are only useful for one particular kind of signal and therefore their name are preceded by the signal name: eg. eels_cl_edge.

Writing a new template is easy: see the user guide documentation on creating components.

For more details see each component docstring.

Expression

Create a component from a string expression.

Gaussian2D

Normalized 2D elliptical Gaussian function component.