You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When computing the Voronoi speed in a measurement area, it is also possible to compute the Voronoi speed with:
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.
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).
Activity
chraibi commentedon Feb 22, 2025
This is not exactly the same, but similar to Voronoi speed.
M-Colley commentedon Nov 21, 2026
Opened #597 adding
compute_arithmetic_voronoi_speedalongsidecompute_voronoi_speed.As @chraibi noted above, whereas$\frac{A(V_i \cap M)}{A(M)}$ , $\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
compute_voronoi_speedweights each pedestrian's speed bycompute_arithmetic_voronoi_speedtakes the unweighted meanSpeedMethod.ARITHMETICinprofile_calculator.pyandJPSreport).