gempy.set_fault_relation

gempy.set_fault_relation(frame: GeoModel | StructuralFrame, rel_matrix: ndarray) StructuralFrame[source]

Sets the fault relations in the structural frame of the GeoModel.

Parameters:
  • frame (Union[GeoModel, StructuralFrame]) – GeoModel or its StructuralFrame to be modified.

  • rel_matrix (np.ndarray) – Fault relation matrix to be set.

Returns:

The updated StructuralFrame object.

Return type:

StructuralFrame