hyperspy._components.pes_core_line_shape module

class hyperspy._components.pes_core_line_shape.PESCoreLineShape(A=1.0, FWHM=1.0, origin=0.0, ab=0.0, shirley=0.0)

Bases: hyperspy.component.Component

_function(x, A, origin, FWHM, ab, shirley)

Given an one dimensional array x containing the energies at which you want to evaluate the background model, returns the background model for the current parameters.

function_nd(axis)

Returns a numpy array containing the value of the component for all indices. If enough memory is available, this is useful to quickly to obtain the fitted component without iterating over the navigation axes.