code: def postpro_standardize(data, report=None):
      
      if not report:
          report = {}
      # First make dim 1 = time.
      data = np.transpose(data, [2, 0, 1])
      standardized_data = (data - data.mean(axis=0)) / data.std(axis=0)
      standardized_data = np.transpose(standardized_data, [1, 2, 0])
      report['standardize'] = {}
      report['standardize']['performed'] = 'yes'
      report['standardize']['method'] = 'Z-score'
      # The above makes self connections to nan, set to 1.
      data = set_diagonal(data, 1)
      return standardized_data, report
docs: Standardizes everything in data (along axis -1).
  
      If report variable is passed, this is added to the report.