Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit 5582226

Browse files
author
kettenis
committed
If only a single frequency is provided in the rxg file (instead of a range)
print this as a single frequency in the antab output as well. git-svn-id: svn+ssh://jop91.astron.nl/auto/home/jive_cvs/SOFTC/svn/trunk/sfxc@1990 5736e3ea-d426-0410-8aaf-93e336ac3372
1 parent da0c628 commit 5582226

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/tsys.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,11 @@ def roundup(n, m):
219219
gains[freq][mount] = True
220220
gains[freq]['DPFU'] = dpfu
221221
gains[freq]['POLY'] = poly
222-
gains[freq]['FREQ'] = (lo, hi)
222+
if lo == hi:
223+
gains[freq]['FREQ'] = lo
224+
else:
225+
gains[freq]['FREQ'] = (lo, hi)
226+
pass
223227
gains[freq]['FT'] = 1.0
224228
pass
225229
elif options.tcal_file:

0 commit comments

Comments
 (0)