tams.overlap#
- tams.overlap(a, b, *, norm='a')#
For each contour in a, determine those in b that overlap and by how much.
Currently the mapping is based on indices of the frames: iloc position in a : loc position in b : overlap fraction.
- Parameters
norm (
{'a', 'b', 'max', 'min', 'mean'}
) – Area to use to normalize the overlap to a fraction.a (geopandas.GeoDataFrame) –
b (geopandas.GeoDataFrame) –