Skip to content
Snippets Groups Projects
Commit 96d8fa4b authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

SW-720: pulled and merge branch 'LOFAR-Release-4_0' of git.astron.nl:ro/lofar...

SW-720: pulled and merge branch 'LOFAR-Release-4_0' of git.astron.nl:ro/lofar into LOFAR-Release-4_0
parents 0d3fb877 4019f28b
No related branches found
No related tags found
1 merge request!8Cobalt2 multithreading fix
...@@ -236,10 +236,10 @@ class Correlated(DataProduct): ...@@ -236,10 +236,10 @@ class Correlated(DataProduct):
'duration' : endTime - startTime, 'duration' : endTime - startTime,
'integrationInterval' : exposure, 'integrationInterval' : exposure,
'centralFrequency' : spw.getcell('REF_FREQUENCY', 0), 'centralFrequency' : spw.getcell('REF_FREQUENCY', 0),
'channelWidth' : spw.getcell('RESOLUTION', [3052])[0], 'channelWidth' : spw.getcell('RESOLUTION', 0)[0],
'channelsPerSubband' : spw.getcell('NUM_CHAN', 0), 'channelsPerSubband' : spw.getcell('NUM_CHAN', 0),
# Assume subband name has format 'SB-nn' # Assume subband name has format 'SB-nn'
'subband' : int(spw.getcell('NAME', 'SB-064')[3:]), 'subband' : int(spw.getcell('NAME', 0)[3:]),
'stationSubband' : 0 ### NOT CORRECT! ### 'stationSubband' : 0 ### NOT CORRECT! ###
}) })
except Exception as error: except Exception as 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