faultwithvaryingdip class

class csi.faultwithvaryingdip(name, utmzone=None, ellps='WGS84', lon0=None, lat0=None)
buildPatches(dip, dipdirection, every=10, minpatchsize=1e-05, trace_tol=0.1, trace_fracstep=0.2, trace_xaxis='x', trace_cum_error=True)

Builds a dipping fault. Args:

  • dip : Dip angle evolution [[0, 20], [10, 30], [80, 90]]

  • dipdirection : Direction towards which the fault dips.

  • every : patch length for the along trace discretization

  • minpatchsize : minimum patch size

  • trace_tol : tolerance for the along trace patch discretization optimization

  • trace_fracstep : fractional step in x for the patch discretization optimization

  • trace_xaxis : x axis for the discretization (‘x’ use x as the x axis, ‘y’ use y as the x axis)

  • trace_cum_error : if True, account for accumulated error to define the x axis bound for the last patch

Example: dip = [[0, 20], [10, 30], [80, 90]] means that from the origin point of the fault (self.xi[0], self.yi[0]), the dip is 20 deg at 0 km, 30 deg at km 10 and 90 deg at km 80. The routine starts by discretizing the surface trace, then defines a dip evolution as a function of distance from the fault origin and drapes the fault down to depth.

dipevolution(dip)

Uses the informations in dip to build a dip evolution along strike. The interpolation scheme is piecewise linear. The x axis of dip has to be in increasing order. Args:

  • dip : Dip angle evolution ex: [[0, 20], [10, 30], [80, 90]]