Skip to content
Snippets Groups Projects
Commit a069c524 authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-459: Fixed a test by return usefull / correct default values

parent 78120a1e
No related branches found
No related tags found
No related merge requests found
......@@ -236,10 +236,10 @@ class Correlated(DataProduct):
'duration' : endTime - startTime,
'integrationInterval' : exposure,
'centralFrequency' : spw.getcell('REF_FREQUENCY', 0),
'channelWidth' : spw.getcell('RESOLUTION', 0)[0],
'channelWidth' : spw.getcell('RESOLUTION', [3052])[0],
'channelsPerSubband' : spw.getcell('NUM_CHAN', 0),
# Assume subband name has format 'SB-nn'
'subband' : int(spw.getcell('NAME', 0)[3:]),
'subband' : int(spw.getcell('NAME', 'SB-064')[3:]),
'stationSubband' : 0 ### NOT CORRECT! ###
})
except Exception, error:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment