decay_time_param_decay¶
-
forest.benchmarking.analysis.
decay_time_param_decay
(x: numpy.ndarray, amplitude: float, decay_time: float, offset: float = 0.0) → numpy.ndarray¶ Model an exponential decay parameterized by a decay constant with constant e as the base.
Parameters: - x – The independent variable with respect to which decay is calculated.
- amplitude – The amplitude of the decay curve.
- decay_time – The inverse decay rate - e.g. T1 - of the decay curve.
- offset – The offset of the curve, (typically take to be 0.0).
Returns: Exponential decay fit function, parameterized with a decay constant