This module contains functions to convert seisan catalogue to files to hypoDD input files.
These functions will generate both a catalogue (dt.ct) file, event file (event.dat), station information file (station.dat), and a correlation oiutput file correlated every event in the catalogue with every other event to optimize the picks (dt.cc).
The correlation routine relies on obspy’s xcorr_pick_correction function from the obspy.signal.cross_correlation module. This function optimizes picks to better than sample accuracy by interpolating the correlation function and finding the maximum of this rather than the true maximum correlation value. The output from this function is stored in the dt.cc file.
Information for the station.dat file is read from SEISAN’s STATION0.HYP file
Earthquake picks and locations are taken from the catalogued s-files - these must be pre-located before entering this routine as origin times and hypocentre locations are needed for event.dat files.
|license:||GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)|
6.2.1. Classes & Functions¶
||Read a Seisan STATION0.HYP file on the path given.|
||Read hypoDD phase files into Obspy catalog class.|
||Write an event.dat file from a list of Seisan events|
||Generate a dt.ct for hypoDD for a series of events.|
||Write a dt.cc file for hypoDD input for a given list of events.|
||Write obspy.core.event.Catalog to a hypoDD format event.dat file.|