draw_random_sunspot_radii

libra.draw_random_sunspot_radii(n)[source] [edit on github]

Draw one or more random samples from the sunspot radius distribution.

Parameters:

n : int

Number of random sunspot radii to draw

Returns:

rspot_rstar : ndarray

Radii of a sunspots drawn from the sunspot radius distribution, in units of stellar radii.