Skip to content
Snippets Groups Projects
Commit 04882b5a authored by Frits Sweijen's avatar Frits Sweijen
Browse files

Reference based on channel frequency instead of REF_FREQUENCY in sort_times_into_freqGroups.py

parent 24870ffd
Branches
Tags
1 merge request!169Reference based on channel frequency instead of REF_FREQUENCY in sort_times_into_freqGroups.py
Pipeline #59632 passed
......@@ -140,7 +140,7 @@ def main(MSfile, numSB=10, DP3fill=True, stepname=None, mergeLastGroup=False, tr
for ms in time_groups[time]['files']:
# Get the frequency info
sw = pt.table(ms+'::SPECTRAL_WINDOW', ack=False)
freq = sw.col('REF_FREQUENCY')[0]
freq = sw.col('CHAN_FREQ')[0][0]
if first:
file_bandwidth = sw.col('TOTAL_BANDWIDTH')[0]
nchans = sw.col('CHAN_WIDTH')[0].shape[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment