obspy.signal.cross_correlation._prep_streams_correlate

_prep_streams_correlate(stream, template, template_time=None)[source]

Prepare stream and template for cross-correlation.

Select traces in stream and template with the same seed id and trim stream to correct start and end times.