code: def get_descriptives(data):
      
      output = {}
      dat_log = log(abs(data))
      output['mean'] = nanmean(data, axis=0)
      output['sd'] = nanstd(data, axis=0)
      output['mean_log'] = nanmean(dat_log, axis=0)
      output['sd_log'] = nanstd(dat_log, axis=0)
  
      return output
docs: Get mean, SD, and mean and SD of log values.
  
      Parameters
      ----------
      data : ndarray
          Data with segment as first dimension
          and all other dimensions raveled into second dimension.
  
      Returns
      -------
      dict of ndarray
          each entry is a 1-D vector of descriptives over segment dimension