fault_mesh.faults.connected

Module for connecting segments into a connected fault system

Classes

ConnectedFaultSystem

_summary_

Module Contents

class fault_mesh.faults.connected.ConnectedFaultSystem(overall_name, cfm_faults, segment_names=None, search_patterns=None, excluded_names=None, tolerance=100.0, smooth_trace_refinements=5, trimming_gradient=1.0)

_summary_

Parameters:
  • overall_name (str)

  • segment_names (list)

  • search_patterns (Union[str, list])

  • excluded_names (Union[str, list])

  • tolerance (float)

  • smooth_trace_refinements (int)

  • trimming_gradient (float)

calculate_overall_dip_direction(tolerance=10.0)

Compares dip direction string (e.g. NW) with :return:

Parameters:

tolerance (float)

generate_sr_rake_points(depths, smoothing=True, km=False)

Generate strike and rake points for the fault system at specified depths.

Parameters:
  • depths (Union[np.ndarray, List[float]]) – Depths at which to generate strike and rake points

  • smoothing (bool, optional) – Whether to apply smoothing to the traces, defaults to True

  • km (bool, optional) – Whether depths are in kilometers, defaults to False

property sampled_dip

Dip value sampled from the fault trace. Used for calculating dip in depth contours. :return: