API reference¶
Aperta is organized as a flat collection of algorithm modules. Each module
focuses on one phase of the six-phase accessibility workflow and operates
on plain numpy / pandas / networkx inputs without any framework
scaffold.
At a glance¶
Module |
Purpose |
|---|---|
|
Tiered OD pair structures + builders, including cross-modal alignment. |
|
Shortest paths on |
|
Cumulative-opportunity, gravity, nearest-k metrics. Per-node or per-cell output depending on input ODM class. |
|
Linear utility specifications and the routing-+-endpoint pipeline for utility-based costs; consumed by |
|
First/last-mile overheads on cost ODMs (node-keyed and geo-keyed), with helpers for zone-tier last-mile aggregation. |
|
Traffic-volume estimation via cost-weighted nested-node sampling. |
|
OLS calibration of per-edge weights against observed travel times; bearing-aware traffic-counter snapping + counter-fit evaluation for flow calibration. |
|
Network helpers — intersection consolidation, sampled edge betweenness, node snapping, per-direction lane counts. |
|
Geometry helpers — H3 grids, line bearings, KDTree-based buffer aggregations, raster sampling. |
|
Spatial-join wrappers between points, polygons, and filtered lines. |
|
OSM data fetching + per-edge categorization via |
|
Copernicus GLO-30 DEM download + raster sampling. Requires |
|
Plot helpers — choropleth panels, multi-panel comparisons, per-edge |
|
aperta-specific exception types. |
Core OD + routing
Accessibility metrics
Traffic flows + calibration
Geographic + network helpers