hyperspy._components.eels_double_power_law module

class hyperspy._components.eels_double_power_law.DoublePowerLaw(A=1e-05, r=3.0, origin=0.0)

Bases: hyperspy.component.Component

function(x)

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.

grad_A(x)
grad_origin(x)
grad_r(x)
grad_ratio(x)
grad_shift(x)