5.9.1.7. eqcorrscan.utils.sfile_util.picktoevent

eqcorrscan.utils.sfile_util.picktoevent(evinfo, picks)[source]

Wrapper function to convert from EVENTINFO and PICK classes to obspy.core.event.Event.

Parameters:
  • evinfo (EVENTINFO) – Event header info for a single event
  • picks (List of PICK) – List of picks associated with the event
Returns:

obspy.core.event.Event

Note

This is a legacy support function, users should avoid this as it will be removed for version 0.1.1. Written to aid transition from in-built classes to obspy.core.event classes.

New in version 0.1.0.