Skip to content

This repository contain scripts for analyzing single-file movement experiments recorded by a top-view, or side-view camera

License

Notifications You must be signed in to change notification settings

PedestrianDynamics/SingleFileMovementAnalysis

Repository files navigation

SingleFileMovementAnalysis

DOI

Introduction

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

Alternative text

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.

Requirements

Download and install the requirements with

pip3 install -r requirements.txt

Example of the analysis results

  • 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

Note

  1. 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.