Skip to content

Compute arithmetic Voronoi speed #260

Open

Description

@schroedtert

When computing the Voronoi speed in a measurement area, it is also possible to compute the Voronoi speed with:

image

where $P_M$ are all pedestrians whose Voronoi cell intersects with the measurement area. This is an feature which was available in JPSreport but is not yet implemented.

Activity

  1. added
    speed
    on Jan 10, 2024
  2. added this to the v1.4.0 milestone on Jan 28, 2025
  3. self-assigned this
    on Feb 22, 2025
  4. chraibi commented on Feb 22, 2025

    @chraibi
    Collaborator

    This is not exactly the same, but similar to Voronoi speed.

  5. removed this from the v1.4.0 milestone on Jul 14, 2025
  6. M-Colley commented on Nov 21, 2026

    @M-Colley

    Opened #597 adding compute_arithmetic_voronoi_speed alongside compute_voronoi_speed.

    As @chraibi noted above, whereas compute_voronoi_speed weights each pedestrian's speed by $\frac{A(V_i \cap M)}{A(M)}$, compute_arithmetic_voronoi_speed takes the unweighted mean $\frac{1}{|P_M(t)|} \sum_{i \in P_M(t)} v_i(t)$ over all pedestrians whose Voronoi polygon has a positive-area intersection with $ ((V_i \cap M) > 10^{-16}$, consistent with SpeedMethod.ARITHMETIC in profile_calculator.py and JPSreport).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    speed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions