fermi

romanisim.persistence.fermi(x, dt, A, x0, dx, alpha, gamma)

The Fermi model for persistence: A * (x/x0)**alpha * (t/1000.)**(-gamma) / (exp(-(x-x0)/dx) + 1) For fluence level below the half well, the persistence is linear in x.

Parameters:
xnp.ndarray[float]

Fluence level (electrons)

dtnp.ndarray[float]

Time since exposure (s)

Afloat

Amplitude parameter of persistence (electrons)

x0float

Pivot fluence (electrons)

dxfloat

dx parameter (electrons)

alphafloat

Power law index scaling with fluence

gammafloat

Power law index scaling with time

Returns:
persistence

The persistence signal at the current time for the persistence-affected pixels described by persistence.