pyrocko.plot.hudson

Functions

draw_axes(axes[, color, fontsize, linewidth])

Plot axes and annotations of Hudson's MT decomposition diagram.

project(mt)

Calculate Hudson's (u, v) coordinates for a given moment tensor.

project(mt)[source]

Calculate Hudson’s (u, v) coordinates for a given moment tensor.

The moment tensor can be given as a pyrocko.moment_tensor.MomentTensor object, or by anything that can be converted to a 3x3 NumPy matrix, or as the six independent moment tensor entries as (mnn, mee, mdd, mne, mnd, med).

draw_axes(axes, color='black', fontsize=12, linewidth=1.5)[source]

Plot axes and annotations of Hudson’s MT decomposition diagram.