Skip to content

Commit 2b3eaf3

Browse files
steven-murraybhazelton
authored andcommitted
maint: remove cruft
1 parent a3df549 commit 2b3eaf3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/pyuvdata/utils/bltaxis.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ def determine_rectangularity(
194194
vice versa. This does NOT require that the baselines and times are sorted within
195195
that structure.
196196
197-
Note that blt_order being (time, baseline) or vice versa does *not* guarantee
197+
Note that blt_order being (time, baseline) does *not* guarantee
198198
rectangularity, even when Nblts == Nbls * Ntimes, since if `autos_first = True` is
199199
set on `reorder_blts`, then it will still set the blt_order attribute to
200200
(time, baseline), but they will not strictly be in that order (since it will
201-
actually be in autos first order).
201+
actually be in autos-first order).
202202
"""
203203
# check if the data is rectangular
204204
time_first = True
@@ -210,14 +210,12 @@ def determine_rectangularity(
210210
return True, True
211211
elif ntimes == 1:
212212
return True, False
213-
# Note that the opposite isn't true: time/baseline ordering does not always mean
214-
# that we have rectangularity, because of the autos_first keyword to reorder_blts.
215213
elif blt_order == ("baseline", "time"):
214+
# Note that the opposite isn't true: time/baseline ordering does not always mean
215+
# that we have rectangularity, because of the autos_first keyword to
216+
# reorder_blts.
216217
return True, True
217218

218-
# elif blt_order == ("time", "baseline"):
219-
# return True, False
220-
221219
# That's all the easiest checks.
222220
if time_array[1] == time_array[0]:
223221
time_first = False

0 commit comments

Comments
 (0)