SecondSpectrum
kloppy.secondspectrum
Functions for loading Second Spectrum tracking data.
load
Load SecondSpectrum tracking data.
| PARAMETER | DESCRIPTION |
|---|---|
meta_data
|
A json or xml feed containing the meta data.
TYPE:
|
raw_data
|
A json feed containing the raw tracking data.
TYPE:
|
additional_meta_data
|
A dict with additional data that will be added to
the metadata. See the
TYPE:
|
sample_rate
|
Sample the data at a specific rate.
TYPE:
|
limit
|
Limit the number of frames to load to the first
TYPE:
|
coordinates
|
The coordinate system to use.
TYPE:
|
only_alive
|
Only include frames in which the game is not paused.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
TrackingDataset
|
The parsed tracking data. |