User contributed plug-ins for Pyrocko's seismic waveform browser Snuffler.

Marius acc53f0fef setup logging 4 months ago
cc_matrix 73dfd33cf9 upd to PyQt5 imports 2 years ago
hyposat-snuffling 0c269b23fe hyposat: use gfortran 1 year ago
okada d432bbc528 okada: docs typo 10 months ago
screenshots 21c4896aad time_line: set margins, update figure 1 year ago
vtk-map 23cb632e20 VTK: highlight active event 1 year ago
.gitignore 313fbc4e29 add object files to gitignore 9 months ago
LICENSE 5c03bc5ed1 Initial commit 6 years ago
README.md 422f9d704f cleanup examples 2 years ago
ahfullgreen.py 976c120beb py3 2 years ago
audio.py 8fb9e0da68 use pyrocko's qt compat 2 years ago
beam_stack.py 976c120beb py3 2 years ago
catalog_stats.py 95404d1d16 catalog_stats: magnitude histogram 9 months ago
cc_relocation.py 4ec5245ba0 adapt to new module scheme 2 years ago
corrsearch.py abcdd5e7c2 corrsearch: use main hp/lp 10 months ago
drumplot.py 2200158ae5 drumplot: fix scaling issue 1 year ago
export_waveforms.py 3944653f90 option: save filtered traces 2 years ago
extract_catalog.py 4ec5245ba0 adapt to new module scheme 2 years ago
extract_events.py 4ec5245ba0 adapt to new module scheme 2 years ago
fk_parstack.py 4ec5245ba0 adapt to new module scheme 2 years ago
local_magnitude.py 976c120beb py3 2 years ago
notch.py 4ec5245ba0 adapt to new module scheme 2 years ago
obspy_fk_analyse_polar.py 4ec5245ba0 adapt to new module scheme 2 years ago
particle_motion.py aac1aadf98 particle_motion: add channels, disable manually set axis limits 1 year ago
plot_traces.py 081271048d plot_traces: bug fix 5 months ago
psd.py e26a4b2d2e psd: fix a py2/3 issue 1 year ago
setup.py acc53f0fef setup logging 4 months ago
spectrogram.py 084c3193f7 spectrogram: can now save spectrogram data for external plotting 1 year ago
stack_by_markers.py f5521f5ca2 stack_by_markers: extend tpad 10 months ago
station_book.py f74b88a711 station_book: add name 4 months ago
time_line.py 7164496962 add stations and labels 1 year ago

README.md

User Contributed Snufflings

Snufflings are plugins for seismological trace viewer Snuffler which is part of the Python framework Pyrocko.

An overview of available snufflings is given at the end of this page.

Installation

Clone this repository and change directory:

git clone https://github.com/pyrocko/contrib-snufflings.git
cd contrib-snufflings

Create symbolic links pointing from this directory into $HOME/.snufflings. The included setup.py script provides a shortcut for that:

python setup.py link [arguments]

If no arguments are given, all available snufflings will be linked. You will find the new snufflings under panels or run in Snuffler's menu.

Update

Pull updates from the repository:

git pull origin master

Help

Most snufflings include documentation which can be found in the Help menu in Snuffler.

Contribute

After cloning this repository, add your own snufflings and send a pull request.

We recommend to add a doc string at the top of each snuffling right beneath the snuffling's class name. This text will be shown when pressing the Help button on the snuffling's panel. It should give an overview of the functionalities. Wrapping this text in html code can be used to pretty up the documentation.

If you miss some feature in a snuffling, discover a bug or would like to discuss an idea for a new snuffling click on Issues and open up a New Issue.


Examples

Plot PSD

Plot power spectral densities

file: psd.py

screenshot

Cross correlation relocation

Relocate events by cross correlating waveforms

file: cc_relocation.py

screenshot

Cross correlation search

Find repeating events

file: corrsearch.py

screenshot

Cross correlation matrix

Cross correlate selected events. Results, including cross-correlation factor and time lags between maxima of the cross correlation can be stored in YAML format to ease later analysis.

directory: cc_matrix

screenshot

Listen to seismograms

Export seismograms to .wav files or listen to seismological recordings. Direct playback requires the PyQt4 bindings for Phonon. (E.g. on Debian and ubuntu available through: apt-get install python-qt4-phonon)

file: audio.py

screenshot

Time Line

Temporal overview of catalog data.

file: time_line.py

screenshot

Extract Events

Save waveforms for time windows around selected events as MSEED. This is a hybrid Snuffling which can be run from the command-line as well.

file: extract_events.py

screenshot

Export waveforms

Export selected/visible waveforms as MSEED, ASCII, SAC or YAFF files.

file: export_waveforms.py

Distance projected waveform plots

Applying a reduction velocity allows to 'shrink' the time domain. Figures can be exported in various image file formats like .png or .pdf. In order to improve the visual perception of small wiggles, positive amplitudes can be plotted in filled mode.

file: plot_traces.py

screenshot

Spectrogram

file: spectrogram.py

screenshot

Geodetic forward modelling

Visualize and output of a data trace for a rectangular dislocation source in an elastic halfspace. You will need to go to the okada dir and type make in order to compile the C-Code.

directory: okada

screenshot

Particle Motion

Plot combinations of vertical and horizontal channels of selected stations.

file: particle_motion.py

screenshot