pointpats.weighted_mean_center

pointpats.weighted_mean_center(points, weights)[source]

Find weighted mean center of a marked point pattern.

Parameters
pointsarraylike

(n,2), (x,y) coordinates of a series of event points.

weightsarraylike

a series of attribute values of length n.

Returns
_array

(2,), (x,y) coordinates of the weighted mean center.