Skip to content

Commit

Permalink
Fix yields
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Nov 13, 2024
1 parent f92c39c commit 0b95629
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions glass/points.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ def positions_from_delta( # noqa: PLR0912, PLR0913, PLR0915
Yields
------
The longitudes, latitudes and the number of sampled points. If
multiple populations are sampled, an array of counts in the shape
of the extra dimensions is returned.
Columns of longitudes for the sampled points.
Columns of latitudes for the sampled points.
The number of sampled points If multiple populations are sampled, an
array of counts in the shape of the extra dimensions is returned.
Raises
------
Expand Down Expand Up @@ -338,8 +339,10 @@ def uniform_positions(
Yields
------
The longitudes, latitudes and the number of sampled points. For array
inputs, an array of counts with the same shape is returned.
Columns of longitudes for the sampled points.
Columns of latitudes for the sampled points.
The number of sampled points. For array inputs, an array of
counts with the same shape is returned.
"""
# get default RNG if not given
Expand Down

0 comments on commit 0b95629

Please sign in to comment.