# 5.15.1.6. eqcorrscan.utils.sfile_util.readpicks

`eqcorrscan.utils.sfile_util.``readpicks`(sfile)

  Read all pick information from the s-file to an obspy.event.Catalog type.

  Note

  This was changed for version 0.1.0 from using the inbuilt PICK class.

  Parameters: | sfile (str) Path to sfile
  Returns: | obspy.core.event.Event

  Warning

  Currently finalweight is unsupported, nor is velocity, or angle of incidence. This is because obspy.event stores slowness in s/deg and takeoff angle, which would require computation from the values stored in seisan. Multiple weights are also not supported in Obspy.event.

  Example

      >>> event = readpicks('eqcorrscan/tests/test_data/REA/TEST_/' +
      ...                   '01-0411-15L.S201309')
      >>> print(event.origins[0].time)
      2013-09-01T04:11:15.700000Z
      >>> print(event.picks[0].time)
      2013-09-01T04:11:17.240000Z