spheres.utils.polygon_area¶
-
spheres.utils.
polygon_area
(phis, thetas, radius=1)[source]¶ Computes area of spherical polygon. Returns result in ratio of the sphere’s area if the radius is specified. Otherwise, in the units of provided radius.
- Parameters
phis (list) –
thetas (list) –
radius (float) –
- Returns
area
- Return type
float