Skip to content
Snippets Groups Projects
Commit fb263549 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

Task SSB-42: RA, DEC are stored in a tuple

parent 5efbb7fc
No related branches found
No related tags found
1 merge request!44Merge back holography to master
...@@ -334,11 +334,13 @@ class HolographyDataset(): ...@@ -334,11 +334,13 @@ class HolographyDataset():
# Data tables # Data tables
f[self.HDS_REFERENCE_STATION] = numpy.array(self.reference_stations, f[self.HDS_REFERENCE_STATION] = numpy.array(self.reference_stations,
dtype=h5py.special_dtype(vlen = str)) dtype = h5py.special_dtype(vlen = str))
f[self.HDS_FREQUENCY] = self.frequencies f[self.HDS_FREQUENCY] = self.frequencies
f[self.HDS_RA_DEC] = self.ra_dec ra_dec_type = numpy.dtype([('RA', numpy.float64),
('DEC', numpy.float64)])
f[self.HDS_RA_DEC] = numpy.array(self.ra_dec, dtype = ra_dec_type)
sample_type = numpy.dtype([ sample_type = numpy.dtype([
('XX', numpy.complex64), ('XX', numpy.complex64),
......
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