geomm.centroid.
centroid
(coords, weights=None)[source]¶Return the centroid (AKA center of geometry or when weights correspond to masses the ‘center of mass (COM)’) of a set of coordinates.
coords (arraylike) – The coordinates to find the centroid of.
weights (arraylike, optional) –
centroid (center of mass).
(Default = None)