Skip to content
Snippets Groups Projects
Commit d0c378aa authored by Mattia Mancini's avatar Mattia Mancini
Browse files

SSB-42: code cleanup

parent 1bc34ad7
No related branches found
No related tags found
1 merge request!44Merge back holography to master
......@@ -72,7 +72,7 @@ class HolographyDataset():
else:
return dict1[key] == dict2[key]
else:
print(key, dict1.keys(), dict2.keys())
return False
return result
......@@ -139,7 +139,7 @@ class HolographyDataset():
ho.ms_for_a_given_beamlet_number[beamlet].\
read_cross_correlation_time_flags_per_station_names(station_name,
self.reference_stations)
logger.debug(reference_station_names)
for reference_station_index, reference_station in\
enumerate(reference_station_names):
......@@ -227,11 +227,7 @@ class HolographyDataset():
self.sas_ids = list(sas_ids)
self.reference_stations = list(reference_stations)
self.rcu_list = list(rcu_list)
n_frequencies = len(self.frequencies)
n_beamlets = len(beamlets)
#self.ra_dec = numpy.zeros((n_frequencies, n_beamlets),
# dtype=coordinate_type)
self.ra_dec = dict()
coordinate_type = numpy.dtype([('RA', numpy.float64),
('DEC', numpy.float64),
......
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