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

SSB-42: set default value to -999999.9

parent ddb400d3
No related branches found
No related tags found
1 merge request!44Merge back holography to master
...@@ -173,9 +173,9 @@ class HolographyMeasurementSet(object): ...@@ -173,9 +173,9 @@ class HolographyMeasurementSet(object):
n_polarizations], order='F') n_polarizations], order='F')
flags = flags.reshape([n_reference_stations, n_timestamps], order='F') flags = flags.reshape([n_reference_stations, n_timestamps], order='F')
beams_crosscorrelations_array = numpy.full([n_reference_stations, n_timestamps],
beams_crosscorrelations_array = numpy.empty([n_reference_stations, n_timestamps], fill_value=-999999.9,
dtype = data_sample_type) dtype = data_sample_type)
for reference_station_index, reference_station_name in enumerate(reference_stations): for reference_station_index, reference_station_name in enumerate(reference_stations):
beams_crosscorrelations_array[reference_station_index, :]['t'] = timestamps beams_crosscorrelations_array[reference_station_index, :]['t'] = timestamps
......
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