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

SSB-47: Remove dunder in favor of single underscore

parent 6b0200af
No related branches found
No related tags found
1 merge request!44Merge back holography to master
......@@ -293,10 +293,10 @@ class HolographyDataset():
logger.info("Creating a holography data set for station \"%s\"...", station_name)
try:
logger.debug('collecting preliminary information')
self.__collect_preliminary_information(station_name, list_of_hbs_ms_tuples)
self._collect_preliminary_information(station_name, list_of_hbs_ms_tuples)
logger.debug('collected preliminary information')
logger.debug('reading data')
self.__read_data(station_name, list_of_hbs_ms_tuples)
self._read_data(station_name, list_of_hbs_ms_tuples)
logger.debug('read data')
self._central_beamlets = self.find_central_beamlets(self._source_position, self._ra_dec,
self._frequencies, self._beamlets)
......@@ -349,7 +349,7 @@ class HolographyDataset():
raise ValueError(text)
return minimal_distance_per_frequency
def __read_data(self, station_name, list_of_hbs_ms_tuples):
def _read_data(self, station_name, list_of_hbs_ms_tuples):
"""
:param station_name:
......@@ -391,7 +391,7 @@ class HolographyDataset():
self.data[reference_station][frequency_string][beamlet_string] = \
cross_correlation[reference_station_index, :]
def __collect_preliminary_information(self, station_name, list_of_hbs_ho_tuples):
def _collect_preliminary_information(self, station_name, list_of_hbs_ho_tuples):
"""
This routines reads both the holography beam specifications files and the holography
observation to gather the list of rcus, the mode, the target station name and position,
......
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