hyperspy._components.eels_double_power_law module

class hyperspy._components.eels_double_power_law.DoublePowerLaw(A=1e-05, r=3.0, origin=0.0, shift=20.0, ratio=1.0, module='numexpr', **kwargs)

Bases: hyperspy._components.expression.Expression

function(x)
function_nd(axis)

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