code: def _compute_magnitude_distance_term(self, C, rjb, mag):
          
          rval = np.sqrt(rjb ** 2. + C["h"] ** 2.)
          return (C["b4"] + C["b5"] * (mag - 4.5)) * np.log(rval)
docs: Returns the magntude dependent distance term