Metadata-Version: 2.1
Name: pyhazard
Version: 1.0.0
Summary: Python package for probabilistic seismic hazard analysis (PSHA)
Project-URL: Homepage, https://github.com/blyona/HAZARD
Project-URL: Bug Tracker, https://github.com/blyona/HAZARD/issues
Author-email: blyona <benjalyona@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# HAZARD
HAZARD is a repository that contains information about the python package ```pyhazard```, which seeks to facilitate the calculation of seismic hazard by facilitating different GMPEs.

<img src="hazard.png" width="150" height="190" />

- **Autor**: [Benjamín Lyon](https://github.com/blyona)
- **Version**: 1.0.0
- **Fecha**: 22 de febrero del 2023

## Requisitos

- Python 3.8+
- [numpy](https://pypi.org/project/numpy/ "numpy")
- [scipy](https://pypi.org/project/scipy/ "scipy")

## Ejemplos

```
import numpy as np
from pyhazard import I2014_REV

To   = 0
M    = [5, 6, 7, 8]
Rrup = 100*np.ones((4 ,1))
Rhyp = 110*np.ones((4 ,1))
Ztor = 15* np.ones((4, 1))
Zhyp = 25* np.ones((4, 1))
Vs30 = 200

lny, sigma, tau, phi = I2014_REV(To, M, Rrup, Rhyp, Ztor, Zhyp, Vs30)
```