5.10.1.3. eqcorrscan.utils.plotting.detection_multiplot

eqcorrscan.utils.plotting.detection_multiplot(stream, template, times, streamcolour=u'k', templatecolour=u'r', save=False, savefile=None, size=(10.5, 7.5))[source]

Plot a stream of data with a template on top of it at detection times.

Parameters:
  • stream (obspy.core.stream.Stream) Stream of data to be plotted as the base (black)
  • template (obspy.core.stream.Stream) Template to be plotted on top of the base stream (red)
  • times (list) list of times of detections in the order of the channels in template.
  • streamcolour (str) String of matplotlib colour types for the stream
  • templatecolour (str) Colour to plot the template in.
  • save (bool) False will plot to screen, true will save plot and not show to screen.
  • savefile (str) Filename to save to, required for save=True
  • size (tuple) Figure size.
Returns:

class:matplotlib.figure

../../_images/detection_multiplot.png