quakephase


Namequakephase JSON
Version 0.2.5 PyPI version JSON
download
home_pagehttps://github.com/speedshi/quakephase
SummaryA Python package for automatic seismic phase characterization
upload_time2024-04-15 07:09:04
maintainerNone
docs_urlNone
authorPeidong Shi
requires_pythonNone
licenseGPLv3
keywords seismology machine learning phase picking seismic monitoring earthquake monitoring
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://github.com/speedshi/quakephase/blob/main/docs/figs/QUAKEPHASE_logo.png" />
</p>

---

# 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)
```bash
pip install quakephase
```

Install from source code
```bash
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](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/speedshi/quakephase/blob/main/use_quakephase_example.ipynb)  

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](https://doi.org/10.22541/essoar.171291855.54784565/v1)





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/speedshi/quakephase",
    "name": "quakephase",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "Seismology, Machine Learning, Phase Picking, Seismic Monitoring, Earthquake Monitoring",
    "author": "Peidong Shi",
    "author_email": "speedshi@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ca/55/9277218b2ba5ce5843efe67f967540916743e0d6dcdd41258fd083e477ce/quakephase-0.2.5.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <img src=\"https://github.com/speedshi/quakephase/blob/main/docs/figs/QUAKEPHASE_logo.png\" />\n</p>\n\n---\n\n# quakephase\nMachine-learning based toolbox to characterize seismic phases, i.e. phase detection, phase classification, and phase picking.  \nCurrently, the **quakephase** toolbox can be used to largely enhance the pre-trained ML seismic phase picking models.  \n\n\n## Installation\nInstall using pip (recommend)\n```bash\npip install quakephase\n```\n\nInstall from source code\n```bash\nconda create -n quakephase python=3.9\nconda activate quakephase\ngit clone https://github.com/speedshi/quakephase.git\ncd quakephase\npip install .\n```\n\n\n## Usage\nFollow the example scripts to use **quakephase**:  \n**use_quakephase_example.py**  \n**use_quakephase_example.ipynb**  [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/speedshi/quakephase/blob/main/use_quakephase_example.ipynb)  \n\nInput parameters are explained and set in the parameter YAML file: \"parameters.yaml\". Feel free to explore and play with different parameters.  \nNote 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.  \n\n\n## Reference \nPlease cite the following paper in your documents if you use **quakephase** in your work:  \nPeidong Shi, Men-Andrin Meier, Linus Villiger, Katinka Tuinstra, Paul Selvadural, Federica Lanza, Sanyi Yuan, Anne Obermann, Maria Mesimeri, Jannes M\u00fcnchmeyer, 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](https://doi.org/10.22541/essoar.171291855.54784565/v1)\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "A Python package for automatic seismic phase characterization",
    "version": "0.2.5",
    "project_urls": {
        "Homepage": "https://github.com/speedshi/quakephase"
    },
    "split_keywords": [
        "seismology",
        " machine learning",
        " phase picking",
        " seismic monitoring",
        " earthquake monitoring"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e5ec4a7a9d552a019452a23638c58db1ba2d2ea9e98494efa67c22c4c298df6",
                "md5": "127f0d1b4530e2d13a3f0f6834ad8590",
                "sha256": "2a144aaeb429fd782529cc41285b4ce741ad20871f8e086348393b950bf2cf2f"
            },
            "downloads": -1,
            "filename": "quakephase-0.2.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "127f0d1b4530e2d13a3f0f6834ad8590",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 34576,
            "upload_time": "2024-04-15T07:09:01",
            "upload_time_iso_8601": "2024-04-15T07:09:01.244683Z",
            "url": "https://files.pythonhosted.org/packages/4e/5e/c4a7a9d552a019452a23638c58db1ba2d2ea9e98494efa67c22c4c298df6/quakephase-0.2.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca559277218b2ba5ce5843efe67f967540916743e0d6dcdd41258fd083e477ce",
                "md5": "5e449d73580394aeefeab565d2ad2f5f",
                "sha256": "33787c889678743cb512decbd2f40216cc7edfaa40e83fd6c0de3639a953a04a"
            },
            "downloads": -1,
            "filename": "quakephase-0.2.5.tar.gz",
            "has_sig": false,
            "md5_digest": "5e449d73580394aeefeab565d2ad2f5f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 116122,
            "upload_time": "2024-04-15T07:09:04",
            "upload_time_iso_8601": "2024-04-15T07:09:04.431921Z",
            "url": "https://files.pythonhosted.org/packages/ca/55/9277218b2ba5ce5843efe67f967540916743e0d6dcdd41258fd083e477ce/quakephase-0.2.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 07:09:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "speedshi",
    "github_project": "quakephase",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "quakephase"
}
        
Elapsed time: 2.82424s