states.PadZerosInitializer
class PadZerosInitializer::class:`Initializer` that copies a detection field and zero-pads to ``full_dim``.
Used to spawn a Kalman state from a measurement-only detection: the
detection's measurement vector becomes the leading slice of the full
state, with zeros for the unobserved velocity (or higher-order)
components. ``ds.{field}`` must have shape ``(N, meas_dim)`` and
``meas_dim <= full_dim``.
Parameters
| Name | Type | Description |
|---|---|---|
| field | str | Detection field that supplies the leading measurement slice. |
| full_dim | int | Final state dimensionality. |
Raises
- ValueError — If the detection field is wider than ``full_dim``.
Members
Source: unitrack/states/identity.py:157