uniform_spherical_random_surface

astropy.coordinates.uniform_spherical_random_surface(size=1)[source]

Generate a random sampling of points on the surface of the unit sphere.

Parameters:
sizepython:int

The number of points to generate.

Returns:
repUnitSphericalRepresentation

The random points.