This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / spatial / _spherical_voronoi / SphericalVoronoi / calculate_areas

function

scipy.spatial._spherical_voronoi:SphericalVoronoi.calculate_areas

source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/_spherical_voronoi.py:320

Signature

def calculate_areas(self)

Summary

Calculates the areas of the Voronoi regions.

Extended Summary

For 2D point sets, the regions are circular arcs. The sum of the areas is 2 * pi * radius.

For 3D point sets, the regions are spherical polygons. The sum of the areas is 4 * pi * radius**2.

Returns

areas : double array of shape (npoints,)

The areas of the Voronoi regions.

Aliases

  • scipy.spatial.SphericalVoronoi.calculate_areas