pyrocko.plot.directivity¶
Functions
|
Plot the directivity and radiation characteristics of source models. |
- plot_directivity(engine, source, store_id, distance=300000.0, azi_begin=0.0, azi_end=360.0, dazi=1.0, phases={'P': 'first{stored:any_P}-10%', 'S': 'last{stored:any_S}+50'}, interpolation='multilinear', target_depth=0.0, quantity='displacement', envelope=False, component='R', fmin=0.01, fmax=0.1, hillshade=True, cmap=None, plot_mt='full', show_phases=True, show_description=True, reverse_time=False, show_nucleations=True, axes=None, nthreads=0)[source]¶
Plot the directivity and radiation characteristics of source models.
Synthetic seismic traces (R, T or Z) are forward-modelled at a defined radius, covering the full or partial azimuthal range and projected on a polar plot. Difference in the amplitude are enhanced by hillshading the data.
- Parameters:
engine (
Engine) – Forward modelling enginesource (
Source) – Parametrized source modelstore_id (str) – Store ID used for forward modelling
distance (float) – Distance in [m]
azi_begin (float) – Begin azimuth in [deg]
azi_end (float) – End azimuth in [deg]
dazi (float) – Delta azimuth, bin size [deg]
phases (
dictwithstrkeys andTimingvalues) – Phases to define start and end of time windowquantity (str) – Seismogram quantity, default
displacementenvelope (bool) – Plot envelope instead of seismic trace
component (str) – Forward modelled component, default
R. Choose from RTZfmin (float) – Bandpass lower frequency [Hz], default
0.01fmax (float) – Bandpass upper frequency [Hz], default
0.1hillshade (bool) – Enable hillshading, default
Truecmap (str) – Matplotlib colormap to use, default
seismic. WhenenvelopeisTruethe default colormap will beReds.plot_mt (str, bool) – Plot a centered moment tensor, default
full. Choose fromfull, deviatoric, dc or Falseshow_phases (bool) – Show annotations, default
Trueshow_description (bool) – Show description, default
Truereverse_time (bool) – Reverse time axis. First phases arrive at the center, default
Falseshow_nucleations (bool) – Show nucleation piercing points on the moment tensor, default
Trueaxes (
matplotlib.axes.Axes) – Give axes to plot intonthreads (int) – Number of threads used for forward modelling, default
0- all available cores