mtuq.graphics.plot_polarities¶
- mtuq.graphics.plot_polarities(filename, observed, predicted, stations, origin, mt, **kwargs)[source]¶
Plots first-motion polarities
Required arguments
filename
(str): Name of output image fileobserved
(list or dict) Observed polarities for all stations (+1 positive, -1 negative, 0 unpicked)predicted
(list or dict) Predicted polarities for all stations (+1 positive, -1 negative)stations
(list): List containting station names, azimuths and takeoff anglesorigin
(mtuq.Origin): Origin objectmt
(mtuq.MomentTensor): Moment tensor object