Skip to content

Releases: PedestrianDynamics/PedPy

v1.4.0

08 Sep 20:03
00b4d00

Choose a tag to compare

New features

  • Add new trajectory loaders for the following simulation tools:
  • Compute profiles in specified measurement area
  • Compute neighbor distance
  • Introduce PedPy errors

What's changed

  • Improved color handling in plot_neighborhood function
  • Modernized GitHub ReadMe

Fixes

  • Fixed geometry creation issues when obstacles touch boundary edges
  • Resolved time-distance plotting bug to properly include all initial trajectory points

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.2

04 May 15:11
2e467f1

Choose a tag to compare

What's Changed

Full Changelog: v1.3.1...v1.3.2

v1.3.1

21 Feb 15:26

Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

02 Feb 15:40
316bd1f

Choose a tag to compare

New feature:

Continuity equation and fundamental diagram of pedestrians 1 describes a new approach to compute the fundamental diagram for pedestrian dynamics. This approach uses Voronoi decomposition to allow definitions of density, speed, and flow on the basis of trajectories in accordance with the continuity equation. It also enables measurement along a line, handling different motion directions without losing velocity sign.

How to use the new method is shown in the following Jupyter-Notebook: Fundamental Diagrams at Measurement Line

Figure: Continuity Equation and Fundamental Diagram Left: Voronoi decomposition, Voronoi cells which intersect with the measurement line are indicated by color. Right: Voronoi decomposition, Red and blue indicate the main movement direction.

implented in #242 by @ChristianHirt


Full Changelog: v1.2.0...v1.3.0

  1. J. Adrian, A. K. Boomers, S. Paetzke, and A. Seyfried, “Continuity equation and fundamental diagram of pedestrians.” arXiv, 2024. doi: 10.48550/ARXIV.2409.11857

v1.2.0

27 Sep 14:03
1a67375

Choose a tag to compare

New features:

  • New speed profile method: Gauss
  • New spatial analysis method: Pair distribution function
  • New core measurement method: Acceleration
  • Improve plotting:
    • In distance-line plots, the line can be colored in the speed of the pedestrian

What's changed:

  • Improve plotting:
  • Column identifiers are now exposed at top-level, e.g., can be imported with from pedpy import *

Fixes:

  • Fix bug in compute_crossing_frames, returning the frame a pedestrian may stand on line
  • Improve documentation:
    • Fix in developer guide
    • Fix data types not displayed correctly in some parts of documentation
    • Restructure methods page and add new category names
    • Add details about the Well-Known-Text (WKT) format
    • General minor documentation fixes and improvements
    • Show BibTeX for citation from Zenodo metadata (also for stable)
  • Distance to time plot, now show the correct time
  • Improve plotting of polygons:
    • Fill color of polygons does not show outside the borders when using narrow line_width
    • No gaps at the last point of the polygon boundary
  • Improve documentation: Show BibTeX for citation from Zenodo metadata

New Contributors

v1.1.3

30 Aug 18:14
e5c5d59

Choose a tag to compare

Fixes:

  • Distance to time plots now show the correct time

v1.1.2

16 Jun 08:02
303e3c9

Choose a tag to compare

Fixes:

  • Improve documentation: Show BibTeX for citation from Zenodo metadata (now also for stable)

v1.1.1

12 Jun 17:00
c7ee313

Choose a tag to compare

Fixes:

  • Improve plotting of polygons:
    - Fill color of polygons does not show outside of the borders when using narraw line_width
    - No gaps at the last point of the polygon boundary
  • Improve documentation: Show BibTeX for citation from Zenodo metadata

v1.1.0

13 Mar 15:50
c7d06c2

Choose a tag to compare

New features:

  • Add loading functions for different datatypes:

  • Improve profile computations:

    • Introduce separate function to compute speed and density profiles
    • Add classic and Gaussian density profile computation
    • Add mean speed profile computation
  • Improve trajectory data:

    • Make trajectory data sliceable by frames: trajectory[0:100]
    • Expose metadata as bounds, number pedestrians and frame range

What's changed:

  • Nightly builds will no longer be uploaded to test-PyPI
  • kwargs how passed from plotting functions to matplotlib backend
  • Support GeometryCollection as base for geometries
  • Add support for Python 3.12
  • Functions are now exposed at top-level, e.g., can be imported with from pedpy import *

Fixes:

  • Correct automatic computation of vmin and vmax when plotting profiles
  • Use correct escape depending in plot label
  • Improve documentation

v1.0.2

13 Oct 08:38
f1e0e35

Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.0.2