dcmri.prop_step#
- dcmri.prop_step(T, D, t)[source]#
Propagator or transit time distribution of a step system.
See section Step for more detail.
- Parameters:
T (float) – mean transit time of the system. Any non-negative value is allowed, including \(T=0\) and \(T=\infty\), in which case the system is a trap.
D (float) – dispersion of the system, or half-width of the step given as a fraction of T. Values must be between 0 (no dispersion) and 1 (maximal dispersion).
t (array_like) – time points where the propagator is calculated, in the same units as T.
- Returns:
propagator as a 1D array.
- Return type:
- Raises:
ValueError – if one of the parameters is out of bounds.
Example
>>> import dcmri as dc >>> t = [0,3,4,6] >>> dc.prop_step(5, 0.5, t) array([0.03508772, 0.21052632, 0.21052632, 0.21052632])