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 as 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 physped
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
License
- Free software: 3-clause BSD license
Documentation
- Documentation: (COMING SOON!) https://c-pouw.github.io/physics-based-pedestrian-modeling.
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.0.tar.gz
.
File metadata
- Download URL: physics_based_pedestrian_modeling-0.1.0.tar.gz
- Upload date:
- Size: 37.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.8.10 Linux/5.15.0-107-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 273b879532a4fa4a8c0d5da318081ff314cc644d986eebe4cb60a6236c676f8b |
|
MD5 | f4692279dd42949f969fa58e8f4fb8de |
|
BLAKE2b-256 | c618f9c202be5a455030b656819a45b76840c7013fcc83b137a2792d70a422e5 |
File details
Details for the file physics_based_pedestrian_modeling-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: physics_based_pedestrian_modeling-0.1.0-py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.8.10 Linux/5.15.0-107-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a2c55490433639c016875a3ad5d57f506627ef3595eeb188a525cf3ed3efffe |
|
MD5 | 8039d6dc913a0c5fdced67799b1a8d5e |
|
BLAKE2b-256 | 8d4a82ec1033653f1bd17b85bed80015c61ec7765af70a009c5e0f80053da163 |