diff options
Diffstat (limited to 'fg21sim/utils/random.py')
-rw-r--r-- | fg21sim/utils/random.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/utils/random.py b/fg21sim/utils/random.py index f652f6d..d825101 100644 --- a/fg21sim/utils/random.py +++ b/fg21sim/utils/random.py @@ -20,11 +20,11 @@ def spherical_uniform(n=1): Returns ------- theta : float, or 1D `~numpy.ndarray` - The polar angles, φ ∈ [0, π]. (unit: rad) + The polar angles, θ ∈ [0, π]. (unit: rad) If ``n > 1``, then returns a 1D array containing all the generated coordinates. (unit: rad) phi : float, or 1D `~numpy.ndarray` - The azimuthal angles, θ ∈ [0, 2π). + The azimuthal angles, φ ∈ [0, 2π). NOTE ---- |