hyperspy._components.rc module

class hyperspy._components.rc.RC(Vmax=1.0, V0=0.0, tau=1.0, module='numexpr', **kwargs)

Bases: hyperspy._components.expression.Expression

RC function component (based on the time-domain capacitor voltage response of an RC-circuit)

f(x) = V_\mathrm{0} + V_\mathrm{max} \left[1 - \mathrm{exp}\left(
    -\frac{x}{\tau}\right)\right]

Variable

Parameter

V_\mathrm{max}

Vmax

V_\mathrm{0}

V0

\tau

tau

Parameters
  • Vmax (float) – maximum voltage, asymptote of the function for \mathrm{lim}_{x\to\infty}

  • V0 (float) – vertical offset

  • tau (float) – tau=RC is the RC circuit time constant (voltage rise time)

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