This repository contain 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 store it 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 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.