Commit bcaa1baf authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema

Do not read telescop when reading infile

parent 073f9e7f
......@@ -40,7 +40,7 @@ def create_filterbank(source, infile=None, outfile=None, date=None, headeronly=F
za_start = 0.
src_raj = 0.
src_dej = 0.
if telescope_found:
if (not infile) and telescope_found:
dt = telescope(consoleHost='console')
az_start = (180*u.deg + dt.getAzEl(waitForUpdate=True)[0]).to(u.deg).value % 360
za_start = (90*u.deg - dt.getAzEl()[1]).to(u.deg).value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment