Skip to content

Commit

Permalink
don't select out frow before antenna sanity check in stokes2vis
Browse files Browse the repository at this point in the history
  • Loading branch information
landmanbester committed Oct 16, 2024
1 parent 6590170 commit 699d5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pfb/utils/stokes2vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def single_stokes(
dtype=complex_type)

# check that there are no missing antennas
ant1u = np.unique(ant1[~frow])
ant2u = np.unique(ant2[~frow])
ant1u = np.unique(ant1)
ant2u = np.unique(ant2)
allants = np.unique(np.concatenate((ant1u, ant2u)))

# check that antpos gives the correct size table
Expand Down

0 comments on commit 699d5a5

Please sign in to comment.