Skip to content

A PyQt frontend to pick seismic wave arrival times in an ObsPy Stream object and export those in QuakeML format.

License

Notifications You must be signed in to change notification settings

miili/StreamPick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamPick

This Project is not supported anymore, see http://pyrocko.org Snuffler for seismic data inspection and picking!

A leightweight PyQt frontend to pick seismic wave arrival times in traces contained in an ObsPy Stream object. For further processing the picks can be treated in ObsPy or exported to QuakeML format (see obspy.core.event and https://quake.ethz.ch/quakeml/).

Running the Program

A Stream object is created and passed to streamPick.

from obspy import read
from streamPick import *

st = read('test.mseed')
new_picks = streamPick(st)

new_picks.getPicks()
>>> List of obspy.core.event.Pick objects

You can save the picks as a QuakeML catalog. And handle the catalog through ObsPy:

from obspy.core import event

cat = event.readEvents('myPicks.xml')

Usage

StreamPick Gui. Navigate through the timeseries with the Mouse wheel: Click and Drag the plot to move in time, use the mouse wheel to zoom in and out.

streamPick-gui

Mouse click and key Q sets P-Wave, W S-Wave arrival. Click and push T for custom wave phase, hit R to remove picks from trace.

Check out About for more useful hotkeys:

streamPick-about

Installation

There sure are numerous methods add a module to Python. Check these out:

Clone from the GitHub repository

git clone https://github.com/miili/StreamPick.git
from streamPick import *

see above

Through Python PIP

pip install https://github.com/miili/StreamPick/archive/master.zip

Dependencies

streamPick relies on:

  • PyQt4
  • ObsPy (tested v0.8.4)
  • NumPy (tested v1.7.1)
  • SciPy (tested v0.12.0)
  • Matplotlib (tested v1.1.1rc)

Development

Things to be missed

  • Wadati Diagram
  • Manageable list of Picks

Contributing

Everybody is welcome to contribute! :)

Please follow ObsPy's styles https://github.com/obspy/obspy/wiki#developer-corner

Bitdeli Badge

About

A PyQt frontend to pick seismic wave arrival times in an ObsPy Stream object and export those in QuakeML format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages