aspcore.montecarlo.uniform_random_on_circle

aspcore.montecarlo.uniform_random_on_circle(num_points, rng)

Generate uniformly random points on the unit circle in R^3.

num_pointsint

The number of points to generate

rngnumpy.random.Generator

The random number generator to use

Returns:

points – The points on the unit sphere

Return type:

ndarray of shape (num_points, 3)