예제 #1
0
 def original_file_name(self):
     """
     Set the original name of the file that contained the observation,
     before the file was converted to HDF5.
     :return:
     """
     return get_attr(self._hdf5, FILE_NAME)
예제 #2
0
 def additional_metadata(self):
     """
     Get the additional metadata associated with the observation.
     :return:
     """
     return get_attr(self._hdf5, ADDITIONAL_METADATA)
예제 #3
0
 def num_channels(self):
     """
     Get the number of channels in the HDF5 file
     :return:
     """
     return get_attr(self._hdf5, NUM_CHANNELS)
예제 #4
0
 def original_file_type(self):
     """
     Get the original type of the file that contained the observation.
     :return:
     """
     return get_attr(self._hdf5, FILE_TYPE)
예제 #5
0
 def sample_rate(self):
     """
     Get the sample rate in samples per second
     :return:
     """
     return get_attr(self._hdf5, SAMPLE_RATE)
예제 #6
0
 def start_time(self):
     """
     Get observation start time as a unix epoch in milliseconds
     :return:
     """
     return get_attr(self._hdf5, START_TIME)
예제 #7
0
 def length_seconds(self):
     """
     Get the duration of the observation in seconds
     :return:
     """
     return get_attr(self._hdf5, LENGTH_SECONDS)
예제 #8
0
 def observation_name(self):
     """
     Get the observation name
     :return:
     """
     return get_attr(self._hdf5, OBSERVATION_NAME)
예제 #9
0
 def antenna_name(self):
     """
     Get the antenna name of this channel
     :return:
     """
     return get_attr(self._hdf5, ANTENNA_NAME)
예제 #10
0
 def freq_end(self):
     """
     Get the end freq of this channel in MHz
     :return:
     """
     return get_attr(self._dataset, FREQ_END)
예제 #11
0
 def additional_metadata(self):
     """
     Get the additional metadata associated with the channel.
     :return:
     """
     return get_attr(self._dataset, ADDITIONAL_METADATA)
예제 #12
0
 def freq_start(self):
     """
     Get the start freq of this channel in MHz
     :return:
     """
     return get_attr(self._dataset, FREQ_START)
예제 #13
0
 def max_abs(self):
     return get_attr(self._dataset, MAX_ABS)
예제 #14
0
 def min_abs(self):
     return get_attr(self._dataset, MIN_ABS)
예제 #15
0
 def max_angle(self):
     return get_attr(self._dataset, MAX_ANGLE)
예제 #16
0
 def min_angle(self):
     return get_attr(self._dataset, MIN_ANGLE)