Skip to content

Commit

Permalink
weights -> flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Aug 5, 2024
1 parent 912528a commit 0a5208d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ms_helpers/interpolate_flags_diff_timefreqres.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ def make_ant_pairs(n_ant, n_time):
return antenna1, antenna2


def interpolate_weights(flagged_ms, ms):
def interpolate_flags(flagged_ms, ms):
"""
Args:
flagged_ms: measurement set from where to interpolate
ms: the pre-averaged measurement set
Returns:
interpolated weights
interpolated flags
"""

ants = table(flagged_ms + "::ANTENNA", ack=False)
Expand Down Expand Up @@ -190,8 +190,8 @@ def main():
# run aoflagger on the input MS
runaoflagger(args.msin)

# interpolate weights
interpolate_weights(args.msin, args.msout)
# interpolate flags
interpolate_flags(args.msin, args.msout)


if __name__ == '__main__':
Expand Down

0 comments on commit 0a5208d

Please sign in to comment.