floodlight.transforms
Collection of data transformation and processing functions.
Submodule Reference
Filter
Applies a digital Butterworth lowpass-filter to an XY data object. |
|
Applies a Savitzky-Golay lowpass-filter to an XY data object. |
|
Applies a FIR lowpass-filter to an XY data object. |
|
Applies a forward Kalman filter to an XY data object. |
|
Applies a Wiener filter to an XY data object. |
Spatial
Subtracts the per-frame team centroid from all player positions. |
|
Min-max normalizes an (N, 2) formation array to [0, 1] per axis. |
Permutation
Assigns consistent roles to players across frames using the Hungarian algorithm. |
Interpolation
Linearly interpolates gaps in XY tracking data along the temporal axis. |
|
Interpolates gaps in XY tracking data using piecewise polynomial interpolation along the temporal axis. |
|
Interpolates gaps in XY tracking data using spline interpolation along the temporal axis. |
Temporal
Resample a floodlight core object to a new framerate. |