docs: def get_magnitude_scaling_term(self, C, mag):
          """
          Returns the magnitude scaling term (equation 1)
          """
          mval = mag - 3.0
          return C['b1'] + C['b2'] * mval + C['b3'] * (mval ** 2.0) +\
              C['b4'] * (mval ** 3.0)