Skip to content

Commit

Permalink
Merge e9c7112 into d4ce933
Browse files Browse the repository at this point in the history
  • Loading branch information
benjyman committed Apr 19, 2018
2 parents d4ce933 + e9c7112 commit 9977cfb
Show file tree
Hide file tree
Showing 91 changed files with 68 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/ANTENNA/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file added pyuvdata/data/1102865728_small.ms/ANTENNA/table.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/DATA_DESCRIPTION/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/FEED/table.dat
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/FEED/table.f0
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/FEED/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file added pyuvdata/data/1102865728_small.ms/FEED/table.lock
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/FIELD/table.dat
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/FIELD/table.f0
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/FIELD/table.f0i
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/FIELD/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file added pyuvdata/data/1102865728_small.ms/FIELD/table.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/FLAG_CMD/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/HISTORY/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file added pyuvdata/data/1102865728_small.ms/HISTORY/table.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/MWA_SUBBAND/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/OBSERVATION/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/POINTING/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/POLARIZATION/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/PROCESSOR/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/SOURCE/table.f0i
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/SOURCE/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file added pyuvdata/data/1102865728_small.ms/SOURCE/table.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/SPECTRAL_WINDOW/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/STATE/table.dat
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/STATE/table.f0
Binary file not shown.
3 changes: 3 additions & 0 deletions pyuvdata/data/1102865728_small.ms/STATE/table.info
@@ -0,0 +1,3 @@
Type =
SubType =

Binary file added pyuvdata/data/1102865728_small.ms/STATE/table.lock
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/table.dat
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/table.f0
Binary file not shown.
Binary file added pyuvdata/data/1102865728_small.ms/table.f0i
Binary file not shown.
4 changes: 4 additions & 0 deletions pyuvdata/data/1102865728_small.ms/table.info
@@ -0,0 +1,4 @@
Type = Measurement Set
SubType =

This is a MeasurementSet Table holding measurements from a Telescope
Binary file added pyuvdata/data/1102865728_small.ms/table.lock
Binary file not shown.
9 changes: 7 additions & 2 deletions pyuvdata/ms.py
Expand Up @@ -242,8 +242,13 @@ def read_ms(self, filepath, run_check=True, check_extra=True,
elif(tbField.getcol('PHASE_DIR').shape[1] == 1):
self.phase_type = 'phased'
# MSv2.0 appears to assume J2000. Not sure how to specifiy otherwise
self.phase_center_epoch = float(
tb.getcolkeyword('UVW', 'MEASINFO')['Ref'][1:])
epoch_string = tb.getcolkeyword('UVW', 'MEASINFO')['Ref']
# for measurement sets made with COTTER, this keyword is ITRF instead of the epoch
if epoch_string == 'ITRF':
self.phase_center_epoch = 2000.
else:
self.phase_center_epoch = float(
tb.getcolkeyword('UVW', 'MEASINFO')['Ref'][1:])
self.phase_center_ra = float(tbField.getcol('PHASE_DIR')[0][0][0])
self.phase_center_dec = float(tbField.getcol('PHASE_DIR')[0][0][1])
self.set_phased()
Expand Down

0 comments on commit 9977cfb

Please sign in to comment.