docstr: Calculate Mean.
docstr_tok: ["Calculate","Mean","."]
code: def calculate_mean(self):
      """Calculate Mean."""
      mu = np.array([np.mean(self.data)])
  
      omu = np.mean(self.data, axis=1)
      omu = np.mean(omu, axis=1)
  
      pmu = np.mean(self.data, axis=0)
      pmu = np.mean(pmu, axis=1)
  
      emu = np.mean(self.data, axis=2)
      emu = emu.reshape(self.parts * self.operators)
  
      return {
          Component.TOTAL: mu,
          Component.OPERATOR: omu,
          Component.PART: pmu,
          Component.MEASUREMENT: emu,
      }
  
imports: from enum import Enum
  import numpy
  import math
  import scipy.stats
label_desc: Use image node_id 2 for calling the Statistics obj's underlying member method code with example usage: obj.calculate_mean() and returns: dict