code: def _compute_mean(self, C, mag, term_dist_r):
          
          return (self._compute_term_1(C, mag) +
                  self._compute_term_2(C, mag, term_dist_r) +
                  self._compute_term_3(C, mag, term_dist_r) +
                  self._compute_term_4(C, mag, term_dist_r) +
                  self._compute_term_5(C, mag, term_dist_r))
docs: compute mean