This repository contains scripts and Jupyter notebooks to analyze single-file movement experiments recorded by a top-view (straight, oval), or side-view camera.
Example of top-view experiments: Gender Composition in Single-File Experiments. The analysis code of the experiment using Jupyter notebook
Example of side-view experiments: Influence of gender in single-file movement. The analysis code of the experiment using Jupyter notebook
NOTE: The demo data for both examples can be downloaded from the Pedestrian Dynamics Data Archive then stored in a directory the following repository demo_data.
Download and install the requirements with
pip3 install -r requirements.txt
- The raw trajectories
- The trajectories after the transformation additional
- The trajectories after transformation straight
- The spacial-temporal (space-time) relation
- Determining the steady state
- The relations density-speed, and headway-speed
- To calculate the speed, headway, and density of top-view camera experiments that captured only the straight measurement area such as the Caserne experiment, we use the same analysis methodology of side-view experiments.
Subaih, R., Tordeux, A., & Chraibi, M. (2024). Comprehensive Review and New Analysis Software for Single-file Pedestrian Experiments. Collective Dynamics, 9, 1–47. https://doi.org/10.17815/CD.2024.185.