mtuq.grid.moment_tensor._semiregular

mtuq.grid.moment_tensor._semiregular(npts_v, npts_w, tightness=0.8, uniformity=0.8)[source]

Returns coordinate vectors along the v, w axes

Keyword arguments

tightness (float): Value in range [0,1) that controls how close the extremal points lie to the boundary of the v, w rectangle

uniformity (float): Value in range [0,1] that controls the spacing between points

  • For uniformity=0, the spacing will be regular in Tape2012 parameters delta, gamma, which is good for avoiding distortion near the upper and lower edges.

  • For uniformity=1, the spacing will be regular in Tape2015 parameters v, w, which means that points are uniformly-spaced in terms of moment tensor Frobenius norms.

  • For intermediate values, the spacing will be semiregular in the sense of a linear interpolation between the above cases.