- Network.plot_response(min_freq, output='VEL', station='*', location='*', channel='*', time=None, starttime=None, endtime=None, axes=None, unwrap_phase=False, show=True, outfile=None, label_epoch_dates=False)
Show bode plot of instrument response of all (or a subset of) the network’s channels.
min_freq (float) – Lowest frequency to plot.
output (str) –
Output units. One of:
displacement, output unit is meters
velocity, output unit is meters/second
acceleration, output unit is meters/second**2
UTCDateTime) – Only regard stations active at given point in time.
UTCDateTime) – Only regard stations active at or after given point in time (i.e. stations ending before given time will not be shown).
UTCDateTime) – Only regard stations active before or at given point in time (i.e. stations starting after given time will not be shown).
axes (list of 2
matplotlib.axes.Axes) – List/tuple of two axes instances to plot the amplitude/phase spectrum into. If not specified, a new figure is opened.
unwrap_phase (bool) – Set optional phase unwrapping using NumPy.
show (bool) – Whether to show the figure after plotting or not. Can be used to do further customization of the plot before showing it.
outfile (str) – Output file path to directly save the resulting image (e.g.
"/tmp/image.png"). Overrides the
showoption, image will not be displayed interactively. The given path/file name is also used to automatically determine the output format. Supported file formats depend on your matplotlib backend. Most backends support png, pdf, ps, eps and svg. Defaults to
label_epoch_dates (bool) – Whether to add channel epoch dates in the plot’s legend labels.
>>> from obspy import read_inventory >>> net = read_inventory() >>> net.plot_response(0.001, station="FUR")