gmms: Ground Motion Models (GMMs) and supporting tools
This repository provides a ground motion models (GMMs) and supporting tools coded in Python and Cython. By default, the Python version of the library is loaded, but the Cython can be selected when desired (see Examples). The GMMs available are listed below, and the tools include codes for computing the distances required in GMMs.
| Ground motion model | Ground motion intensity measure |
|---|---|
| Campbell and Bozorgnia (2010) | Geometric mean horizontal standardized cumulative absolute velocity (CAVgm) |
| Campbell and Bozorgnia (2011) | Damage-potential cumulative absolute velocity (CAVdp) |
| Campbell and Bozorgnia (2019) | Arias intensity (Ia) |
| Campbell and Bozorgnia (2019) | Cumulative absolute velocity (CAV) |
| Foulser-Piggott and Goda (2015) | Arias Intensity (Ia) |
| Foulser-Piggott and Goda (2015) | Cumulative absolute velocity (CAV) |
Example
Three examples on Jupyter Notebooks are presented:
- Example 1 (Python backend): Use of Campbell and Bozorgnia models for the 1989 Loma Prieta Earthquake (single-segment fault).
- Example 1 (Cython backend): Use of Campbell and Bozorgnia models for the 1989 Loma Prieta Earthquake (single-segment fault).
- Example 2 (Python backend): Use of Campbell and Bozorgnia models for the 2023 Pazarcik Earthquake (multi-segment fault).
- Example 2 (Cython backend): Use of Campbell and Bozorgnia models for the 2023 Pazarcik Earthquake (multi-segment fault).
- Example 3 (Python backend): Use of the Foulser-Piggott and Goda models for the 2003 Tokachi Earthquake.
- Example 3 (Cython backend): Use of the Foulser-Piggott and Goda models for the 2003 Tokachi Earthquake.
Acknowledgements
The codes for the estimation of Joyner-Boore and rupture distances are based on Pengfei Wang's R implementations.
References
Campbell, K.W., and Bozorgnia, Y. (2010). "A ground motion prediction equation for the horizontal component of cumulative absolute velocity (CAV) based on the PEER-NGA strong motion database." Earthquake Spectra 26(3): 635–650.
Campbell, K.W., and Bozorgnia, Y. (2011). "Prediction equations for the standardized version of cumulative absolute velocity as adapted for use in the shutdown of U.S. nuclear power plants." Nuclear Engineering and Design 241(2011): 2558–2569.
Campbell, K.W., and Bozorgnia, Y. (2019). "Ground motion models for the horizontal components of Arias intensity (AI) and cumulative absolute velocity (CAV) using the NGA-West2 Database." Earthquake Spectra 35(3): 1289–1310.
Foulser‐Piggott, R., and Goda, K. (2015). "Ground‐motion prediction models for Arias intensity and cumulative absolute velocity for Japanese earthquakes considering single‐station sigma and within‐event spatial correlation." Bulletin of the Seismological Society of America 105(4): 1903–1918.
Citation
Pretell, R. (2026). gmms: Ground motion models and supporting tools (v1.0.2). Zenodo. http://doi.org/10.5281/zenodo.10127854
Contact
For any questions or comments, contact Renmin Pretell (rpretell at unr dot edu).
Metadata
Release files for gmms 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gmms-1.0.2.tar.gz | 997.1 kB | Without provenance | Details for gmms-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gmms-1.0.2-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details for gmms-1.0.2-cp312-cp312-win_amd64.whl |
Total release size: 2.5 MB
Release files / gmms-1.0.2.tar.gz
| Download URL | gmms-1.0.2.tar.gz |
|---|---|
| Size | 997.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ca549ba27480baba3ca3dfc60646e75c76294523c5bdb44dd5629482b9942f8
|
|
BLAKE2b-256 checksum How to use checksums |
18368021a767901a90047d204ce94333c8fec669fa5e69c0532e0983efa88f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / gmms-1.0.2-cp312-cp312-win_amd64.whl
| Download URL | gmms-1.0.2-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
96bb96e4dfe7c8f901cb710617977daea5b00b27cba2884aa675d8ba684be3bf
|
|
BLAKE2b-256 checksum How to use checksums |
a00a341886e2ea0641ffbce238cc9b99a62582c1e16853d2e1a8f428faf9003c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for gmms 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.