DVector.split_by_other#
- DVector.split_by_other(other, agg_zone=None)[source]#
Split a DVector adding new segments.
Uses other as weighting, such that the returned DVector sums to the same as the input.
- Parameters:
other (DVector) – The DVector to use for splitting. Returned DVector will have the segmentation of this DVector, with splitting weighted by this DVector.
agg_zone (ZoningSystem) – The zoning level the splits will be calculated at. This should be more aggregate the more confident you are in your attractions distribution spatially, on a scale from None if you are very confident in attractions, to model zoning for no confidence (choosing model zoning means attractions will essentially mirror productions exactly).