Orientation
kloppy.domain.Orientation
Bases: Enum
The attacking direction of each team in a dataset.
ATTRIBUTE | DESCRIPTION |
---|---|
BALL_OWNING_TEAM |
The team that is currently in possession of the ball plays from left to right.
|
ACTION_EXECUTING_TEAM |
The team that executes the action plays from left to right. Used in event stream data only. Equivalent to "BALL_OWNING_TEAM" for tracking data.
|
HOME_AWAY |
The home team plays from left to right in the first period. The away team plays from left to right in the second period.
|
AWAY_HOME |
The away team plays from left to right in the first period. The home team plays from left to right in the second period.
|
STATIC_HOME_AWAY |
The home team plays from left to right in both periods.
|
STATIC_AWAY_HOME |
The away team plays from left to right in both periods.
|
NOT_SET |
The attacking direction is not defined.
|
Notes
The attacking direction is not defined for penalty shootouts in the
HOME_AWAY
, AWAY_HOME
, STATIC_HOME_AWAY
, and STATIC_AWAY_HOME
orientations. This period is ignored in orientation transforms
involving one of these orientations and keeps its original
attacking direction.