docs: def select_catalogue(self, selector, distance, distance_metric="rupture",
                           upper_eq_depth=None, lower_eq_depth=None):
          """
          Select earthquakes within a specied distance of the fault
          """
          if selector.catalogue.get_number_events() < 1:
              raise ValueError('No events found in catalogue!')
  
          # rupture metric is selected
          if ('rupture' in distance_metric):
              # Use rupture distance
              self.catalogue = selector.within_rupture_distance(
                  self.geometry.surface,
                  distance,
                  upper_depth=upper_eq_depth,
                  lower_depth=lower_eq_depth)
          else:
              # Use Joyner-Boore distance
              self.catalogue = selector.within_joyner_boore_distance(
                  self.geometry.surface,
                  distance,
                  upper_depth=upper_eq_depth,
                  lower_depth=lower_eq_depth)