two_step_fca¶
two_step_fca
¶
two_step_fca(info: DataFrame, demand: DataFrame, *, max_distance_m: float = 800.0, decay: str = 'gaussian', supply_col: str = 'capacity', demand_col: str = 'population') -> Series
Two-step floating catchment area (2SFCA) accessibility, a spatial-equity measure.
Concentration measures (Gini, Theil) capture inequality inside the network; 2SFCA captures equity of access to the network from where people are, the metric health geographers use to find mobility deserts. Step 1 computes a supply-to-demand ratio at each station (capacity over the distance-weighted population in its catchment); step 2 sums those ratios, distance-weighted, over the stations reachable from each demand location.
Straight-line (great-circle) proximity only; no routing. Bring your own demand layer (no network calls).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
info
|
DataFrame
|
Canonical station inventory with |
required |
demand
|
DataFrame or GeoDataFrame
|
Demand locations with |
required |
max_distance_m
|
float
|
Catchment radius in metres. |
800.0
|
decay
|
('gaussian', 'linear', 'none')
|
Distance-decay weighting within the catchment. |
"gaussian"
|
supply_col
|
str
|
Columns holding station capacity and location demand (e.g. population). |
'capacity'
|
demand_col
|
str
|
Columns holding station capacity and location demand (e.g. population). |
'capacity'
|
Returns:
| Type | Description |
|---|---|
Series
|
Accessibility score per demand location, aligned to |
References
Luo and Wang (2003); Radke and Mu (2000). Applied to bike-share equity by e.g. Qian et al. (2020).
See Also
coverage_stats : Unweighted coverage extent.
link_transit_stops : Attach the transit demand layer.
Source code in src/gbfs_toolkit/spatial/analytics.py
561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 | |