diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-25 18:19:16 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-25 18:19:16 +0800 |
commit | 169d56a86813bafadb6004b6d4f490f7311ee34d (patch) | |
tree | b72f24f9150539598f316cff9682991d0a1e417b /fg21sim/utils/random.py | |
parent | f0682d6f5c196001f8820d0f2dbdf18087285ac7 (diff) | |
download | fg21sim-169d56a86813bafadb6004b6d4f490f7311ee34d.tar.bz2 |
healpix.py: Change all "indices" to "indexes"
Also fix a wrong notation in "random.py"
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 ---- |