High Order STatisics picking algorithms
Project description
HOST
Author: Matteo Bagagli Date: 10/2021 Version: 2.4.3
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 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 jupyter-notebooks (under books
subdir) where you
can test and understand 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.5579271
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file host-picker-2.4.3.tar.gz
.
File metadata
- Download URL: host-picker-2.4.3.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51cf96f874158cfa33ac9042dad3782b0f351bffe0be22f511292da8d4cb23a |
|
MD5 | dd2bc11bcc561263bf86a4f9b06cd1a5 |
|
BLAKE2b-256 | 06011a48e77934d0900ef2664a5fbeee42c5e5a061fa6fdf2d6e91f8c08677f1 |