hyperspy._components.bleasdale module

class hyperspy._components.bleasdale.Bleasdale(a=1.0, b=1.0, c=1.0, module='numexpr', **kwargs)

Bases: Expression

Bleasdale function component.

Also called the Bleasdale-Nelder function. Originates from the description of the yield-density relationship in crop growth.

\[f(x) = \left(a+b\cdot x\right)^{-1/c}\]
Parameters:
  • a (Float) –

  • b (Float) –

  • c (Float) –

  • **kwargs – Extra keyword arguments are passed to the Expression component.

For \((a+b\cdot x)\leq0\), the component will be set to 0.

grad_a(x)

Returns d(function)/d(parameter_1)

grad_b(x)

Returns d(function)/d(parameter_1)

grad_c(x)

Returns d(function)/d(parameter_1)