ORTEGA is a Python package for analyzing and visualizing potential interactions between a pair of moving entities based on the observation of their movement using a time-geographic-based approach. ORTEGA contributes two significant capabilities: (1) the functions to identify potential interactions (e.g., encounters, concurrent interactions, delayed interactions) from movement data of two or more entities using a time-geographic-based approach; and (2) the capacity to compute attributes of potential interaction events including start time, end time, interaction duration, and difference in movement parameters such as speed and moving direction, and also contextualize the identified potential interaction events.
Current version of ORTEGA only supports inputting GPS points of a pair of moving entities. It works the best when the two entities were tracked with the same sampling rate. The results may not be desirable when the sampling rate is different. To conduct interaction analysis for more than two individuals, the user will need to employ For loops, by considering a moving entity as a reference at each loop and running the analysis in conjunction with all other individuals in the data set.
Citation info:
Dodge, S., Su, R., Johnson, J., Simcharoen, A., Goulias, K., Smith, J. L., & Ahearn, S. C. (2021). ORTEGA: An object-oriented time-geographic analytical approach to trace space-time contact patterns in movement data. Computers, Environment and Urban Systems, 88, 101630.
Su, R., Dodge, S., & Goulias, K. (2022). A classification framework and computational methods for human interaction analysis using movement data. Transactions in GIS, 26(4), 1665-1682.
Su, R., Liu, Y. & Dodge, S. (2024). ORTEGA v1.0: an open-source Python package for context-aware interaction analysis using movement data. Movement Ecology 12, 20.
ORTEGA can be installed through pip command.
pip install ortega
Check our example notebook to learn how to use ORTEGA for interaction analysis using movement data of two entities.
You may report any bugs here.
ORTEGA is licensed under the MIT license. See the LICENSE file for details.