6.2.10.19. eqcorrscan.utils.plotting.noise_plot

eqcorrscan.utils.plotting.noise_plot(signal, noise, normalise=False, **kwargs)[source]

Plot signal and noise fourier transforms and the difference.

Parameters:
  • signal (obspy.core.stream.Stream) – Stream of “signal” window

  • noise (obspy.core.stream.Stream) – Stream of the “noise” window.

  • normalise (bool) – Whether to normalise the data before plotting or not.

  • title (str) – Title of figure

  • show (bool) – Whether to show the figure or not (defaults to True)

  • save (bool) – Whether to save the figure or not (defaults to False)

  • savefile (str) – Filename to save figure to, if save==True (defaults to “EQcorrscan_figure.png”)

  • return_figure (bool) – Whether to return the figure or not (defaults to True), if False then the figure will be cleared and closed.

  • size (tuple of float) – Figure size as (width, height) in inches. Defaults to (10.5, 7.5)

Returns:

matplotlib.pyplot.Figure