match_filter ============ .. currentmodule:: eqcorrscan.core.match_filter Classes and functions for matched-filtering. This is designed for large-scale, multi-paralleled detection, with moderate to large numbers (hundreds to a few thousands) of templates. Object-oriented API ------------------- EQcorrscan's matched-filter object oriented API is split into two halves, input (:doc:`Template ` and :doc:`Tribe ` objects) and output (:doc:`Detection `, :doc:`Family ` and :doc:`Party ` objects). - A :doc:`Tribe ` is a collection of :doc:`Templates `. - A :doc:`Family ` is a collection of :doc:`Detections ` for a single :doc:`Template `. - A :doc:`Party ` is a collection of :doc:`Families ` for a collection of Templates (a :doc:`Tribe `). These objects retain useful meta-data including the obspy Event associated with the :doc:`Template `, and how the :doc:`Template ` was processed. A core aim of the object-oriented API is reproducibility, and we encourage first-time users to adopt this from the off. The methods of :doc:`Template ` and :doc:`Tribe ` objects mirror each other and in general you are best-off working with :doc:`Tribes ` . Both the :doc:`Template ` and :doc:`Tribe ` objects have :meth:`detect ` methods, which allow you to conduct matched-filtering. The :doc:`Detection `, :doc:`Family ` and :doc:`Party ` objects contain all the metadata needed to re-create your detections. Furthermore, the :doc:`Family ` and :doc:`Party ` objects have a :meth:`lag_calc ` method for conducting cross-correlation phase-picking based on correlation with the :doc:`Template `. =============================================== =================================================== Object Purpose =============================================== =================================================== :doc:`Template ` To contain the template waveform and meta-data used to create the template. :doc:`Tribe ` A collection of multiple Templates. Use the `detect` method to run matched-filter detections! :doc:`Detection ` Root of the detection object tree - contains information relevant to a single detection from a single template. :doc:`Family ` Collection of detections for a single Template. :doc:`Party ` Collection of Family objects. =============================================== =================================================== Function-based API ------------------ core.match_filter.matched_filter .... .. currentmodule:: eqcorrscan.core.match_filter.matched_filter .. automodule:: eqcorrscan.core.match_filter.matched_filter .. comment to end block Functions --------- .. autosummary:: :toctree: autogen :nosignatures: match_filter .. comment to end block core.match_filter.helpers .... .. currentmodule:: eqcorrscan.core.match_filter.helpers .. automodule:: eqcorrscan.core.match_filter.helpers .. comment to end block Functions --------- .. autosummary:: :toctree: autogen :nosignatures: extract_from_stream normxcorr2 temporary_directory