5.2.1.2. eqcorrscan.utils.catalog_to_dd.read_phase¶
-
eqcorrscan.utils.catalog_to_dd.
read_phase
(ph_file)[source]¶ Read hypoDD phase files into Obspy catalog class.
Parameters: ph_file (str) Phase file to read event info from. Returns: obspy.core.event.catlog >>> from obspy.core.event.catalog import Catalog >>> catalog = read_phase('eqcorrscan/tests/test_data/tunnel.phase') >>> isinstance(catalog, Catalog) True