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

Task SSB-42: Added a definition for the numpy coordinate type

parent 0f09fd19
No related branches found
No related tags found
1 merge request!44Merge back holography to master
...@@ -229,7 +229,10 @@ class HolographyDataset(): ...@@ -229,7 +229,10 @@ class HolographyDataset():
#self.ra_dec = numpy.zeros((n_frequencies, n_beamlets), #self.ra_dec = numpy.zeros((n_frequencies, n_beamlets),
# dtype=coordinate_type) # dtype=coordinate_type)
self.ra_dec = dict() self.ra_dec = dict()
coordinate_type = numpy.dtype([('RA', numpy.float64),
('DEC', numpy.float64),
('EPOCH', 'S10')])
for frequency in self.frequencies: for frequency in self.frequencies:
frequency_string = str(frequency) frequency_string = str(frequency)
if frequency not in self.ra_dec: if frequency not in self.ra_dec:
......
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