magpie.randoms.randoms_sphere_r

magpie.randoms.randoms_sphere_r(size[, r_min=0., r_max=1.])

Random radial points for a segment of a sphere (default will give randoms within a unit sphere).

Parameters
sizeint

Number of randoms to generate.

r_minfloat

Minimum radius.

r_maxfloat

Maximum radius.

Returns
rarray

Random r.