6.2.10.9. eqcorrscan.utils.plotting.plot_repicked¶
-
eqcorrscan.utils.plotting.plot_repicked(template, picks, det_stream, **kwargs)[source]¶ Plot a template over a detected stream, with picks corrected by lag-calc.
Parameters: - template (obspy.core.stream.Stream) – Template used to make the detection, will be aligned according to picks.
- picks (list) – list of corrected picks, each pick must be an
obspy.core.event.origin.Pickobject. - det_stream (obspy.core.stream.Stream) – Stream to plot in the background, should be the detection, data should encompass the time the picks are made.
- 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: Figure handle which can be edited.
Return type:
