code: def frequency(self, context):
          
          channels = self._manager.spectral_window_table.getcol(MS.CHAN_FREQ)
          return channels.reshape(context.shape).astype(context.dtype)
docs: Frequency data source