DVector.expand_to_other#
- DVector.expand_to_other(other, match_props=False)[source]#
Expand self segmentation to other.
This adds in all segments in other which are not in self, regardless of whether all segments in self are also in other.
- Parameters:
other (DVector) – The DVector to expand to
match_props (bool = False) – Whether to use other to determine proportions for splitting. If True, other summed over zones will be used as weighting for the split.
- Return type:
self expanded to other as required.