Skip to main content

A Python package for automatic seismic phase characterization

Project description


quakephase

Machine-learning based toolbox to characterize seismic phases, i.e. phase detection, phase classification, and phase picking.
Currently, the quakephase toolbox can be used to largely enhance the pre-trained ML seismic phase picking models.

Installation

Install using pip (recommend)

pip install quakephase

Install from source code

conda create -n quakephase python=3.9
conda activate quakephase
git clone https://github.com/speedshi/quakephase.git
cd quakephase
pip install .

Usage

Follow the example scripts to use quakephase:
use_quakephase_example.py
use_quakephase_example.ipynb Open In Colab

Input parameters are explained and set in the parameter YAML file: "parameters.yaml". Feel free to explore and play with different parameters.
Note for data with distinct data sampling rates, the rescaling factor affects the performance most, choose it wisely. And if computing power is allowed, you can assemble different sets of rescaling rates to maximize the performance.

Reference

Please cite the following paper in your documents if you use quakephase in your work:
Peidong Shi, Men-Andrin Meier, Linus Villiger, Katinka Tuinstra, Paul Selvadural, Federica Lanza, Sanyi Yuan, Anne Obermann, Maria Mesimeri, Jannes Münchmeyer, Patrick Bianchi, and Stefan Wiemer. From labquakes to megathrusts: Scaling deep learning based pickers over 15 orders of magnitude. ESS Open Archive. April 12, 2024. DOI: 10.22541/essoar.171291855.54784565/v1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quakephase-0.2.5.tar.gz (116.1 kB view details)

Uploaded Source

Built Distribution

quakephase-0.2.5-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file quakephase-0.2.5.tar.gz.

File metadata

  • Download URL: quakephase-0.2.5.tar.gz
  • Upload date:
  • Size: 116.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for quakephase-0.2.5.tar.gz
Algorithm Hash digest
SHA256 33787c889678743cb512decbd2f40216cc7edfaa40e83fd6c0de3639a953a04a
MD5 5e449d73580394aeefeab565d2ad2f5f
BLAKE2b-256 ca559277218b2ba5ce5843efe67f967540916743e0d6dcdd41258fd083e477ce

See more details on using hashes here.

File details

Details for the file quakephase-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: quakephase-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for quakephase-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2a144aaeb429fd782529cc41285b4ce741ad20871f8e086348393b950bf2cf2f
MD5 127f0d1b4530e2d13a3f0f6834ad8590
BLAKE2b-256 4e5ec4a7a9d552a019452a23638c58db1ba2d2ea9e98494efa67c22c4c298df6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page