5.9.1.4. eqcorrscan.utils.sfile_util.eventtopick

eqcorrscan.utils.sfile_util.eventtopick(event)[source]

Wrapper function to convert from obspy.core.event to legacy PICK and EVENT classes.

Parameters:event (obspy.core.event.Event) – A single obspy event
Returns:List of PICK(), and a single EVENTINFO()

Note

This is a wrapper to simplify transition from PICK and EVENT classes to obspy.core.event classes. This will not be maintained beyond v 0.1.0.

New in version 0.1.0.