states.EMADecay
class EMADecay:Exponential decay of a tracklet field toward ``anchor``.
Each call multiplies the deviation from ``anchor`` by
``exp(-ln 2 * dt / half_life)``, so the field's distance to
``anchor`` halves every ``half_life`` time units.
Parameters
| Name | Type | Description |
|---|---|---|
| field | str | Tracklet field to decay. |
| half_life | float | Half-life in seconds. Must be strictly positive. |
| anchor = 0.0 | float | Decay target. Default ``0.0``. |
Raises
- ValueError — If ``half_life`` is non-positive or ``anchor`` is non-finite.
Members
Source: unitrack/states/ema.py:13