docs: def generate_fault_source_model(self):
          '''
          Creates a resulting `openquake.hmtk` fault source set.
  
          :returns:
              source_model - list of instances of either the :class:
              `openquake.hmtk.sources.simple_fault_source.mtkSimpleFaultSource`
              or :class:
              `openquake.hmtk.sources.complex_fault_source.mtkComplexFaultSource`
              model_weight - Corresponding weights for each source model
          '''
          source_model = []
          model_weight = []
          for iloc in range(0, self.get_number_mfd_models()):
              model_mfd = EvenlyDiscretizedMFD(
                  self.mfd[0][iloc].min_mag,
                  self.mfd[0][iloc].bin_width,
                  self.mfd[0][iloc].occur_rates.tolist())
  
              if isinstance(self.geometry, ComplexFaultGeometry):
                  # Complex fault class
                  source = mtkComplexFaultSource(
                      self.id,
                      self.name,
                      self.trt,
                      self.geometry.surface,
                      self.mfd[2][iloc],
                      self.rupt_aspect_ratio,
                      model_mfd,
                      self.rake)
                  source.fault_edges = self.geometry.trace
              else:
                  # Simple Fault source
                  source = mtkSimpleFaultSource(
                      self.id,
                      self.name,
                      self.trt,
                      self.geometry.surface,
                      self.geometry.dip,
                      self.geometry.upper_depth,
                      self.geometry.lower_depth,
                      self.mfd[2][iloc],
                      self.rupt_aspect_ratio,
                      model_mfd,
                      self.rake)
                  source.fault_trace = self.geometry.trace
              source_model.append(source)
              model_weight.append(self.mfd[1][iloc])
          return source_model, model_weight