code: def dc_remove_signal(self, data_frame):
          
  
          mean_signal = np.mean(data_frame.mag_sum_acc)
          data_frame['dc_mag_sum_acc'] = data_frame.mag_sum_acc - mean_signal
          logging.debug("dc remove signal")
          return data_frame
docs: Removes the dc component of the signal as per :cite:`Kassavetis2015`
  
              :param data_frame: the data frame
              :type data_frame: pandas.DataFrame
              :return: the data frame with dc remove signal field
              :rtype: pandas.DataFrame