-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
529db03
commit 015fbac
Showing
4 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
- run: pip install mkdocs-material mkdocs-jupyter | ||
- run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Publish to Pypi | ||
name: pypi | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Workflow to build and test wheels | ||
name: Wheel builder | ||
name: wheels | ||
|
||
on: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
# *GaMMA*: *Ga*ussian *M*ixture *M*odel *A*ssociation | ||
|
||
[![](https://github.com/wayneweiqiang/GMMA/workflows/documentation/badge.svg)](https://wayneweiqiang.github.io/GMMA) | ||
[![](https://github.com/wayneweiqiang/GMMA/workflows/pypi/badge.svg)](https://wayneweiqiang.github.io/GMMA) | ||
[![](https://github.com/wayneweiqiang/GMMA/workflows/wheels/badge.svg)](https://wayneweiqiang.github.io/GMMA) | ||
|
||
## 1. Install | ||
```bash | ||
pip install gmma | ||
``` | ||
|
||
## 2. Related papers: | ||
- Zhu Weiqiang et al. Earthquake Phase Association using a Bayesian Gaussian Mixture Model (2021) | ||
![Method](assets/diagram_gmma_annotated.png) | ||
![Method](https://raw.githubusercontent.com/wayneweiqiang/GMMA/master/docs/assets/diagram_gmma_annotated.png) | ||
|
||
|
||
## 3. Examples: | ||
|
||
- Synthetic Example | ||
|
||
See details in the [notebook](): [example_synthetic.ipynb]() | ||
See details in the [notebook](https://github.com/wayneweiqiang/GMMA/blob/master/docs/example_phasenet.ipynb): [example_synthetic.ipynb](example_phasenet.ipynb) | ||
|
||
![Association result](assets/result_eq05_err0.0_fp0.0_amp1.png) | ||
![Association result](https://raw.githubusercontent.com/wayneweiqiang/GMMA/master/docs/assets/result_eq05_err0.0_fp0.0_amp1.png) | ||
|
||
- Real Example using PhaseNet picks | ||
|
||
See details in the [notebook](): [example_phasenet.ipynb]() | ||
See details in the [notebook](https://github.com/wayneweiqiang/GMMA/blob/master/docs/example_phasenet.ipynb): [example_phasenet.ipynb](example_phasenet.ipynb) | ||
|
||
![Associaiton result](assets/2019-07-04T18-02-01.074.png) | ||
![Associaiton result](https://raw.githubusercontent.com/wayneweiqiang/GMMA/master/docs/assets/2019-07-04T18-02-01.074.png) | ||
|