polyTEM.crystal_peaks.flow_fields.plot_solid_lines

polyTEM.crystal_peaks.flow_fields.plot_solid_lines(propagated_lines, min_length=2, sparsity=1)

Plots lines with a constant color and width. Inputs:

propagated_lines: (4 x m x n) matrix, which contains the (x, y, theta, is_active) values for each point m along each

line n. is_active is a binary value which is true if the line is still being drawn at that point.

min_length: lines shorter than this will not be drawn sparsity: values greater than 1 reduce the number of lines drawn for speed and readability purposes.

Outputs:

fig: matplotlib.pyplot figure produces by this function.