docs: def _compute_small_mag_correction_term(C, mag, rhypo):
      """
      small magnitude correction applied to the median values
      """
      if mag >= 3.00 and mag < 5.5:
          min_term = np.minimum(rhypo, C['Rm'])
          max_term = np.maximum(min_term, 10)
          term_ln = np.log(max_term / 20)
          term_ratio = ((5.50 - mag) / C['a1'])
          temp = (term_ratio) ** C['a2'] * (C['b1'] + C['b2'] * term_ln)
          return 1 / np.exp(temp)
      else:
          return 1