Module gplately.ptt.utils.subduction_teeth

Functions

def tesselate_triangles(shapefilename, tesselation_radians, triangle_base_length, triangle_aspect=1.0)

Place subduction teeth along line segments within a MultiLineString shapefile

Parameters

shapefilename : str
path to shapefile
tesselation_radians : float
tesselation radians
triangle_base_length : float
length of base
triangle_aspect : float
aspect ratio, setting triangle_aspect to -1 reverses the tooth direction

Returns

X_points : (n,3)
array of triangle x points
Y_points : (n,3)
array of triangle y points