docs: def _get_hanging_wall_coeffs_mag(self, C, mag):
          """
          Returns the hanging wall magnitude term defined in equation 14
          """
          if mag < 5.5:
              return 0.0
          elif mag > 6.5:
              return 1.0 + C["a2"] * (mag - 6.5)
          else:
              return (mag - 5.5) * (1.0 + C["a2"] * (mag - 6.5))