docs: def create_oqhazardlib_source(self, tom, mesh_spacing, use_defaults=False):
          """
          Returns an instance of the :class:
          `openquake.hazardlib.source.simple_fault.SimpleFaultSource`
  
          :param tom:
               Temporal occurrance model
          :param float mesh_spacing:
               Mesh spacing
          """
          if not self.mfd:
              raise ValueError("Cannot write to hazardlib without MFD")
          return SimpleFaultSource(
              self.id,
              self.name,
              self.trt,
              self.mfd,
              mesh_spacing,
              conv.mag_scale_rel_to_hazardlib(self.mag_scale_rel, use_defaults),
              conv.render_aspect_ratio(self.rupt_aspect_ratio, use_defaults),
              tom,
              self.upper_depth,
              self.lower_depth,
              self.fault_trace,
              self.dip,
              self.rake)