hyperspy.components1d module

Components that can be used to define a 1D 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.

Arctan

Legacy Arctan component dedicated to EELS measurements

Bleasdale

Bleasdale function component.

Doniach

Doniach Sunjic lineshape component.

DoublePowerLaw

Double power law component for EELS spectra.

EELSArctan

Arctan function component for EELS (with minimum at zero).

EELSCLEdge

EELS core loss ionisation edge from hydrogenic or tabulated

Erf

Error function component.

Exponential

Exponential function component.

Expression

Create a component from a string expression.

Gaussian

Normalized Gaussian function component.

GaussianHF

Normalized gaussian function component, with a fwhm parameter

HeavisideStep

The Heaviside step function.

Logistic

Logistic function (sigmoid or s-shaped curve) component.

Lorentzian

Cauchy-Lorentz distribution (a.k.a. Lorentzian function) component.

Offset

Component to add a constant value in the y-axis.

PESCoreLineShape

PESVoigt

Voigt component for photoemission spectroscopy data analysis.

Polynomial

n-order polynomial component. (DEPRECATED)

PowerLaw

Power law component.

RC

SEE

Secondary electron emission component for Photoemission Spectroscopy.

ScalableFixedPattern

Fixed pattern component with interpolation support.

SkewNormal

Skew normal distribution component.

SplitVoigt

Split pseudo-Voigt component.

Vignetting

Voigt

Legacy Voigt profile component dedicated to photoemission spectroscopy

VolumePlasmonDrude

Drude volume plasmon energy loss function component, the energy loss