Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine more accurate timestamps for extra actions in Atomic-SPADL #51

Open
znstrider opened this issue May 25, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@znstrider
Copy link
Contributor

Socceraction creates the timestamps for dribbles and receptions (atomic) as the midpoint (t2 - t1) / 2 between the first and subsequent actions.

The downside of that might be that you can have a short pass, then a long dribble, but the timestamp would still be in the middle (of the dribble).
The other way around might happen too with a long ball traveling a few sec that is immediately passed on, thus the timestamp being in the middle of the pass.

Would it make sense to assume a fixed passing speed and create the timestamp for the ball receival based on the distance and thus the time the ball would take from origin to destination?

Now I am not sure if this is very relevant. It might be useful for looking at holding times of the ball in those individual ball possessions for example.
Are Opta Timestamps always just in seconds? Maybe the lacking accuracy of those would make this approach unnecessary.

@probberechts probberechts added the enhancement New feature or request label Feb 16, 2023
@probberechts probberechts changed the title Timestamps of Dribbles and Ball Receivals in Opta Data Determine more accurate timestamps for extra actions in Atomic-SPADL Feb 18, 2023
@probberechts
Copy link
Member

I agree that it would be better to do something physics-based to determine the timing of the actions that are added in atomic-SPADL, but taking into account the time resolution of event stream data, it will not make a big difference overall.

Also, I think we should move towards provider-specific converters for the atomic-SPADL format that starts from the original event stream data instead of the regular SPADL representation. E.g., for StatsBomb data this would allow using the Receival events to determine an accurate timing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants