hyperspy._components.offset module
- class hyperspy._components.offset.Offset(offset=0.0)
Bases:
hyperspy.component.Component
Component to add a constant value in the y-axis.
Variable
Parameter
offset
- Parameters
offset (float) –
- estimate_parameters(signal, x1, x2, only_current=False)
Estimate the parameters by the two area method
- Parameters
- Returns
- Return type
- 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.