5.2.1.4. eqcorrscan.utils.catalog_to_dd.write_catalog¶
-
eqcorrscan.utils.catalog_to_dd.
write_catalog
(event_list, max_sep=8, min_link=8, debug=0)[source]¶ Generate a dt.ct for hypoDD for a series of events.
Takes input event list from
eqcorrscan.utils.catalog_to_dd.write_event()
as a list of tuples of event id and sfile. It will read the pick information from the seisan formated s-file using the sfile_util utilities.Parameters: - event_list (list) – List of tuples of event_id (int) and sfile (String)
- max_sep (float) – Maximum separation between event pairs in km
- min_link (int) – Minimum links for an event to be paired, e.g. minimum number of picks from the same station and channel (and phase) that are shared between two events for them to be paired.
- debug (int) – Debug output level.
Returns: list of stations that have been used in this catalog
Note
We have not yet implemented a method for taking unassociated event objects and wavefiles. As such if you have events with associated wavefiles you are advised to generate Sfiles for each event using the
eqcorrscan.utils.sfile_util
module prior to this step.