Python package to create physics-based pedestrian models from crowd measurements
Project description
Data-driven physics-based modeling of pedestrian dynamics
Project Overview
Python package to create physics-based pedestrian models from pedestrian trajectory measurements. This package is an implementation of the data-driven generalized pedestrian model presented in:
Pouw, C. A. S., van der Vleuten, G., Corbetta, A., & Toschi, F. (2024). Data-driven physics-based modeling of pedestrian dynamics. To appear xx.
Getting started
Install the package from PyPI
pip install physics-based-pedestrian-modeling
Download the configuration files into your working directory.
Run the main script for one of the available parameter files (listed below)
python main.py params=single_paths
Features
Preprocessing of trajectories
Calculate slow dynamics
Learn potential from the preprocessed trajectories
Learn the potential
Simulate new trajectories using the learned potential
Simulate new trajectories
Parameter Files
Configuration of parameter files is handled by . Default parameter files are provided for the following cases:
- single_paths: Trajectories in a narrow corridor.
- parallel_paths: Trajectories in a wide corridor.
- curved_paths_synthetic: Trajectories along a closed elliptical path.
- intersecting_paths: Trajectories intersecting in the origin.
- station_paths: Complex trajectories in a train station.
Featured Notebooks
A couple of usage notebooks are available for the following cases:
- Narrow corridor paths
- Station paths
- User input paths
Documentation
- Documentation: https://c-pouw.github.io/physics-based-pedestrian-modeling.
License
- Free software: 3-clause BSD license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file physics_based_pedestrian_modeling-0.1.4.tar.gz
.
File metadata
- Download URL: physics_based_pedestrian_modeling-0.1.4.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.0 Linux/5.15.0-107-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a50eae8b22e713857e19e5df85d82358fb74731cd255035d8266a3583e4a099 |
|
MD5 | f484e7251157b3b73894f7c1e1c953cf |
|
BLAKE2b-256 | 3357c5310c4b3b4050f5cd654fbfd853a1034dda6f07a53897af3c9c30a0edd4 |
File details
Details for the file physics_based_pedestrian_modeling-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: physics_based_pedestrian_modeling-0.1.4-py3-none-any.whl
- Upload date:
- Size: 63.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.0 Linux/5.15.0-107-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275e606e81416a5bf7b89fd21dc8bdc9dc775333fe53c4151aaabaab7a5cb1f8 |
|
MD5 | accdee210b102719c09652da7cfd6afe |
|
BLAKE2b-256 | f17832c4640d4a3a396ba785344b79b7d4a8d5b225eb655d0add900189b624e6 |