From 0b95629aef082f3cdc012a2e999e65fdd11f5f17 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 13 Nov 2024 14:52:38 +0000 Subject: [PATCH] Fix yields --- glass/points.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/glass/points.py b/glass/points.py index 2acf75f9..e2983c61 100644 --- a/glass/points.py +++ b/glass/points.py @@ -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 ------ @@ -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