Skip to main content

High Order STatisics picking algorithms for time-series analysis

Project description

DOI

Build Status

codecov

HOST

Author: Matteo Bagagli

Date: 11/2025

Version: 2.5.0

What is it?

The HOST acronym stands for High-Order-STatistics seismic pickers. This algorithm took inspiration from the one described in Baillard et al. 2014. The idea behind this package is to provide user-friendly classes for seismic phase picking with skewness and kurtosis characteristic-functions. Originally applied to seismograms by Saragiotis et al., the HOS-CF are able to detect energic transient when the statistical properties of a seismogram (or time series) change abruptly. These CF are calculated on moving window with fixed window.

Measurements of statistical properties in a moving window are suitable for frequency-specific (or expected) transient. For this reason, the picker support a multi-window analysis, in order to collect more information or even increase the quality of detections. Both skewness and kurtosis are calculated with C-routine under the hood, making this package fast and suitable also for realtime picking porpouses.

Standard installation

In general, the usage of virtual env is a good habit for python users. Although this package's dependencies is not For separated conda environment is recommended. Since version v2.4.1 the picker can be found in PyPI repository. Therefore to install the latest stable version you may simply type:

$ pip install host-picker

and be ready to go.

Developer installation

If you want to be updated with the latest patches or even contribute to the project (yes, really your PR are welcome!), fork-me and clone it to your device:

$ git clone https://github.com/mbagagli/host-picker host
$ cd host/
$ # conda activate myenv (optional)
$ pip install .

... et voila'!

Additional infos

Although the package testing is in Travis-CI, you could still install pytest and, inside the cloned folder, type:

$ pytest

to check everything is fine.

The package comes with some jupyter-notebooks (under books subdir) where you can test, understand and customize this picking-algorithm.

Citing

If you use this code for your science, please consider citing it in your final results or manuscripts.

M. Bagagli (2021). mbagagli/host-picker: host-picker. Zenodo. https://doi.org/10.5281/zenodo.5575912.

Reference

  • Baillard, C., Crawford, W.C., Ballu, V., Hibert, C. and Mangeney, A., 2014. An automatic kurtosis‐based P‐and S‐phase picker designed for local seismic networks. Bulletin of the Seismological Society of America, 104(1), pp.394-409.
  • Saragiotis, C.D., Hadjileontiadis, L.J. & Panas, S.M., 2002. PAI-S/K: a robust automatic seismic P phase arrival identification scheme, IEEE Trans. Geosci. Remote Sens. 40, 1395–1404.

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

host_picker-2.5.0.tar.gz (885.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

host_picker-2.5.0-cp39-cp39-macosx_11_0_arm64.whl (22.7 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file host_picker-2.5.0.tar.gz.

File metadata

  • Download URL: host_picker-2.5.0.tar.gz
  • Upload date:
  • Size: 885.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for host_picker-2.5.0.tar.gz
Algorithm Hash digest
SHA256 333960ac114d356094996208d5bc935ff6bdf577b2fab687caec2a349334b02a
MD5 99446d0afedee0a5ee0094fd2613b06c
BLAKE2b-256 0f96589fda13fb70daf4047d09b6c6ed5b9c02af7225a62757bccf69c18e65f7

See more details on using hashes here.

File details

Details for the file host_picker-2.5.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for host_picker-2.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 09e5ed722a0c86ae51c1c49f12738c8bc725ef8c818f310034a9046f8b4e5c94
MD5 32e52ec8977aaf524cb0427e77cc2c51
BLAKE2b-256 251a520a4e83040657243efcbcf6a6456e277d9874bf638e5aa5c3ff3f423a1f

See more details on using hashes here.

Supported by

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