docs: def _get_style_of_faulting_term(self, C, rup):
          """
          Returns the style-of-faulting scaling term defined in equations 4 to 6
          """
          if (rup.rake > 30.0) and (rup.rake < 150.):
              frv = 1.0
              fnm = 0.0
          elif (rup.rake > -150.0) and (rup.rake < -30.0):
              fnm = 1.0
              frv = 0.0
          else:
              fnm = 0.0
              frv = 0.0
  
          fflt_f = (self.CONSTS["c8"] * frv) + (C["c9"] * fnm)
          if rup.mag <= 4.5:
              fflt_m = 0.0
          elif rup.mag > 5.5:
              fflt_m = 1.0
          else:
              fflt_m = rup.mag - 4.5
          return fflt_f * fflt_m