Skip to main content

Table 1 Description of ORTEGA’s functions

From: ORTEGA v1.0: an open-source Python package for context-aware interaction analysis using movement data

Function

Description

interaction_analysis()

Identifies spatiotemporal intersecting PPAs after the user specifies the short time window (for identifying concurrent interaction) or time interval (for delayed interaction) during the initialization step; computes the difference in speeds and movement directions for each intersecting PPA pair; and extracts continuously intersecting PPA segments (i.e., interaction events) if any exists

compute_interaction_duration()

Computes the duration of each concurrent interaction event. This function only applies to concurrent interaction

compute_ppa_perimeter()

Descriptive statistics of PPA ellipse’s perimeter for each moving individual

compute_ppa_area()

Descriptive statistics of PPA ellipse’s area for each moving individual

compute_ppa_interval()

Descriptive statistics of PPA time interval for each moving individual

compute_ppa_speed()

Descriptive statistics of PPA speed for each moving individual

attach_attributes()

Attaches attributes such as contextual variables to the dataframe of intersecting PPAs (derived from the function interaction_analysis()) for further correlation analysis