Skip to content

Commit 8c1f28c

Browse files
committed
update code comments
1 parent 56724c4 commit 8c1f28c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/pyuvdata/uvdata/uvdata.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5518,8 +5518,9 @@ def __add__(
55185518
):
55195519
axis_params_check[axis].append("_" + param)
55205520

5521-
# build this/other arrays for checking for overlap. More complicated for
5522-
# the blt axis because we need a combo of time and baseline.
5521+
# build this/other arrays for checking for overlap.
5522+
# Use a combined string if there are multiple arrays defining overlap
5523+
# (e.g. baseline-time, spw-freq)
55235524
axis_vals = {}
55245525
for axis, overlap_params in axis_overlap_params.items():
55255526
if len(overlap_params) > 1:
@@ -5641,7 +5642,7 @@ def __add__(
56415642
params_match = None
56425643
for axis, check_list in axis_params_check.items():
56435644
if cp in check_list:
5644-
# only check that overlapping blt indices match
5645+
# only check that overlapping indices match
56455646
this_param = getattr(this, cp)
56465647
this_param_overlap = this_param.get_from_form(
56475648
{axis: axis_inds[axis]["this"]}
@@ -5810,7 +5811,7 @@ def __add__(
58105811
+ extra_history
58115812
)
58125813

5813-
# Reset blt_order if blt axis was added to and it is set
5814+
# Reset blt_order if blt axis was added to
58145815
if len(t2o_dict["Nblts"]) > 0:
58155816
this.blt_order = ("time", "baseline")
58165817

0 commit comments

Comments
 (0)