states.EMADecay.__call__
def __call__(self, cs: Tracklets, ctx: FrameContext) -> TrackletsDecay the field toward :attr:`anchor` by one time step.
Parameters
| Name | Type | Description |
|---|---|---|
| cs | Tracklets | Current tracklet snapshot. |
| ctx | FrameContext | Frame context; ``ctx.delta`` carries the elapsed time. |
Returns
Tracklets — New snapshot with the field decayed.
Raises
- ValueError — If ``ctx.delta`` is negative.
Source: unitrack/states/ema.py:51