You are on page 1of 52

pygmm Documentation

Release 0.6.1

Albert Kottke

Jun 03, 2020


Contents

1 pyGMM 3
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Citation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2 Installation 5
2.1 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Windows and OS-X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Installing pygmm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3 Usage 7

4 Models 9
4.1 Generic Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 Specific Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.3 Conditional Spectrum Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.4 Vertical-to-Horizontal (V/H) Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

5 Contributing 33
5.1 Types of Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2 Get Started! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.3 Pull Request Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.4 Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

6 Credits 37
6.1 Development Lead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.2 Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

7 History 39
7.1 0.6.1 (2020-06-03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.2 0.6.0 (2019-08-12) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.3 0.4.0 (2016-04-08) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.4 0.3.2 (2016-03-30) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.5 0.3.1 (2016-03-30) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

8 References 41

9 Indices and tables 43

i
Bibliography 45

Index 47

ii
pygmm Documentation, Release 0.6.1

Contents:

Contents 1
pygmm Documentation, Release 0.6.1

2 Contents
CHAPTER 1

pyGMM

Ground motion models implemented in Python.


I have recently learned that additional ground motion models have been implemented through GEM’s OpenQuake
Hazardlib, which I recommend checking out.

1.1 Features

Models currently supported:


• Akkar, Sandikkaya, & Bommer (2014) with unit tests
• Atkinson & Boore (2006)
• Abrahamson, Silva, & Kamai (2014) with unit tests
• Abrahamson, Gregor, & Addo (2016) with unit tests
• Boore, Stewart, Seyhan, & Atkinson (2014) with unit tests
• Campbell (2003)
• Campbell & Bozorgnia (2014) with unit tests
• Chiou & Youngs (2014) with unit tests
• Derras, Bard & Cotton (2013) with unit tests
• Idriss (2014) with unit tests
• Pezeshk, Zandieh, & Tavakoli (2001)
• Tavakoli & Pezeshk (2005)
Conditional spectra models:
• Baker & Jayaram (2008) with unit tests

3
pygmm Documentation, Release 0.6.1

• Kishida (2017) with unit tests


Unit tests means that each test cases are used to test the implemention of the model.

1.2 Citation

Please cite this software using the DOI.

4 Chapter 1. pyGMM
CHAPTER 2

Installation

Prior to using pygmm, Python and the following dependencies need to be installed:
• matplotlib – used for plotting
• numpy – fast vector operations
pygmm supports both Python 2.7 and Python 3.

2.1 Linux

Install pygmm dependencies is best accomplished with a package manager. On Arch Linux this can be accomplished
with:

pacman -S python-numpy python-matplotlib pip

2.2 Windows and OS-X

On Windows, installing matplotlib and numpy can be simplified by using Miniconda3. Miniconda3 has installers for
Windows 32-bit, Windows 64-bit, and OS-X.
After the installer is finished, install the required dependencies by opening a terminal. On Windows, this is best
accomplished with Windows Key + r, enter cmd. Next enter the following command:

conda install --yes pip setuptools numpy matplotlib

On Windows, the text can copied and pasted if Quick Edit mode is enabled. To enable this feature, right click on the
icon in the upper left portion of the window, and select Properties, and then check the Quick Edit Mode check box
within the Edit Options group. Copy the text, and then paste it by click the right mouse button.

5
pygmm Documentation, Release 0.6.1

2.3 Installing pygmm

After the dependencies have been installed, install or upgrade pygmm using pip:

pip install --upgrade pygmm

This command can be re-run later to upgrade pygmm to the latest version.

6 Chapter 2. Installation
CHAPTER 3

Usage

pygmm is used within Python scripts. Here is a simple example of plotting the influence of 𝑉𝑠30 on the Chiou &
Youngs (2014) [CY14] model:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Plot influence of V_s30 predicted by CY14 model."""

import matplotlib.pyplot as plt


import pygmm

fig, ax = plt.subplots()

for v_s30 in [300, 600, 900]:


s = pygmm.model.Scenario(
mag=7, dist_jb=20, dist_x=20, dist_rup=25, dip=90, v_s30=v_s30)
m = pygmm.ChiouYoungs2014(s)
ax.plot(m.periods, m.spec_accels, label=str(v_s30))

ax.set_xlabel('Period (s)')
ax.set_xscale('log')

ax.set_ylabel('5%-Damped Spectral Accel. (g)')


ax.set_yscale('log')

ax.grid()

ax.legend(title='$V_{s30}$ (m/s)')

plt.show()

7
pygmm Documentation, Release 0.6.1

Vs30 (m/s)
300
600
900
5%-Damped Spectral Accel. (g)

10 1

10 2

10 2 10 1 100 101
Period (s)

8 Chapter 3. Usage
CHAPTER 4

Models

4.1 Generic Interface

The interfaces for models have been simplified to use same parameter names and values where possible. Details of
this interface are provided in GroundMotionModel.
class pygmm.model.Model(*args, **kwargs)
Bases: object
__init__(*args, **kwargs)
Initialize the model.

Summary of Methods

__init__(*args, **kwargs) Initialize the model.


Model.interp_ln_stds
Model.interp_spec_accels

Attributes

ABBREV Short name of the model


Model.INDEX_PGA
Model.INDEX_PGD
Model.INDEX_PGV
Model.INDICES_PSA
Model.LIMITS
NAME Long name of the model
Model.PARAMS
Model.PERIODS
Continued on next page

9
pygmm Documentation, Release 0.6.1

Table 2 – continued from previous page


Model.PGD_SCALE
Model.PGV_SCALE
Model.ln_std_pga
Model.ln_std_pgd
Model.ln_std_pgv
Model.ln_stds
Model.periods
Model.pga
Model.pgd
Model.pgv
Model.spec_accels

NAME = ''
Long name of the model
ABBREV = ''
Short name of the model

4.1.1 Mechanism

The following abbreviations are used for fault mechanism. Refer to each model for the specific definition of the
mechanism.

Abbreviation Name
U Unspecified
SS Strike-slip
NS Normal slip
RS Reverse slip

4.2 Specific Models

Each supported ground motion model inherits from Model, which provides the standard interface to access the cal-
culated ground motion. The following models have been implemented.

AbrahamsonGregorAddo2016 Abrahamson, Gregor, and Addo (2016) ground motion


moodel.
AbrahamsonSilvaKamai2014 Abrahamson, Silva, and Kamai (2014, [ASK14])
model.
AkkarSandikkayaBommer2014 Akkar, Sandikkaya, & Bommer (2014, [ASB14])
model.
AtkinsonBoore2006 Atkinson and Boore (2006, [AB06]) model.
BooreStewartSeyhanAtkinson2014 Boore, Stewart, Seyhan, and Atkinson (2014,
[BSSA14]) model.
Campbell2003 Campbell (2003, [Cam03]) model.
CampbellBozorgnia2014 Campbell and Bozorgnia (2014, [CB14]) model.
ChiouYoungs2014 Chiou and Youngs (2014, [CY14]) model.
DerrasBardCotton2014 Derras, Bard and Cotton (2014, [DBC14]) model.
HermkesKuehnRiggelsen2014 Hermkes, Kuehn, Riggelsen (2014, [HKR14]) model.
Continued on next page

10 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Table 3 – continued from previous page


Idriss2014 Idriss (2014, [Idr14]) model.
PezeshkZandiehTavakoli2011 Pezeshk, Zandieh, and Tavakoli (2011, [PZT11]) model.
TavakoliPezeshk05 Tavakoli and Pezeshk (2005, [TP05]) model.

4.2.1 pygmm.abrahamson_gregor_addo_2016.AbrahamsonGregorAddo2016

class pygmm.abrahamson_gregor_addo_2016.AbrahamsonGregorAddo2016(scenario, ad-


just_c1=None,
adjust_c4=0,
scale_atten=1.0)
Bases: pygmm.model.GroundMotionModel
Abrahamson, Gregor, and Addo (2016) ground motion moodel.
This model was developed for subduction regions and is commonly referred to as the BCHydro model.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario, adjust_c1=None, adjust_c4=0, scale_atten=1.0)
Initialize the model.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario.

Methods

__init__(scenario[, adjust_c1, adjust_c4, . . . ]) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
adjust_c1
adjust_c4
ln_std_pga Peak ground accelaration log-standard deviation.
Continued on next page

4.2. Specific Models 11


pygmm Documentation, Release 0.6.1

Table 5 – continued from previous page


ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scale_atten
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.2 pygmm.abrahamson_silva_kamai_2014.AbrahamsonSilvaKamai2014

class pygmm.abrahamson_silva_kamai_2014.AbrahamsonSilvaKamai2014(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Abrahamson, Silva, and Kamai (2014, [ASK14]) model.
This model was developed for active tectonic regions as part of the NGA-West2 effort.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


calc_depth_1_0(v_s30, region) Estimate the depth to 1 km/sec horizon (𝑍1.0 ) based
on 𝑉𝑠30 and region.
calc_depth_tor(mag) Calculate the depth to top of rupture (km).
calc_width(mag, dip) Compute the fault width based on equation in NGW2
spreadsheet.
interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
Continued on next page

12 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Table 7 – continued from previous page


INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

static calc_width(mag: float, dip: float) → float


Compute the fault width based on equation in NGW2 spreadsheet.
This equation is not provided in the paper.
Parameters
• mag (float) – moment magnitude of the event (𝑀𝑤 )
• dip (float) – Fault dip angle (𝜑, deg)
Returns width – estimated fault width (𝑊 , km)
Return type float
static calc_depth_tor(mag: float) → float
Calculate the depth to top of rupture (km).
Parameters mag (float) – moment magnitude of the event (𝑀𝑤 )
Returns depth_tor – estimated depth to top of rupture (km)
Return type float
static calc_depth_1_0(v_s30: float, region: str = ’california’) → float
Estimate the depth to 1 km/sec horizon (𝑍1.0 ) based on 𝑉𝑠30 and region.
This is based on equations 18 and 19 in the [ASK14] and differs from the equations in the [CY14].
Parameters
• v_s30 (float) – time-averaged shear-wave velocity over the top 30 m of the site (𝑉𝑠30 ,
m/s). Keyword Args:

4.2. Specific Models 13


pygmm Documentation, Release 0.6.1

• region (str, optional) – region of basin model. Valid options: ‘california’,


‘japan’. If None, then ‘california’ is used as the default value.
Returns depth_1_0 – depth to a shear-wave velocity of 1,000 m/sec (𝑍1.0 , km).
Return type float

4.2.3 pygmm.akkar_sandikkaya_bommer_2014.AkkarSandikkayaBommer2014

class pygmm.akkar_sandikkaya_bommer_2014.AkkarSandikkayaBommer2014(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Akkar, Sandikkaya, & Bommer (2014, [ASB14]) model.
The model is specified for three different distance metrics. However, the implementation uses only one distance
metric. They are used in the following order:
1. dist_jb
2. dist_hyp
3. dist_epi
This order was selected based on evaluation of the total standard deviation. To compute the response for differing
metrics, call the model multiple times with different keywords.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
Continued on next page

14 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Table 9 – continued from previous page


PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.4 pygmm.atkinson_boore_2006.AtkinsonBoore2006

class pygmm.atkinson_boore_2006.AtkinsonBoore2006(scenario: pygmm.model.Scenario)


Bases: pygmm.model.GroundMotionModel
Atkinson and Boore (2006, [AB06]) model.
Developed for the Eastern North America with a reference velocity of 760 or 2000 m/s.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
COEFF_SF
COEFF_SITE
INDEX_PGA
INDEX_PGD
INDEX_PGV
Continued on next page

4.2. Specific Models 15


pygmm Documentation, Release 0.6.1

Table 11 – continued from previous page


INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.5 pygmm.boore_stewart_seyhan_atkinson_2014.BooreStewartSeyhanAtkinson2014

class pygmm.boore_stewart_seyhan_atkinson_2014.BooreStewartSeyhanAtkinson2014(scenario:
pygmm.model.Scen
Bases: pygmm.model.GroundMotionModel
Boore, Stewart, Seyhan, and Atkinson (2014, [BSSA14]) model.
This model was developed for active tectonic regions as part of the NGA-West2 effort.
The BSSA14 model defines the following distance attenuation models:

Name Description
global Global; California and Taiwan
china_turkey China and Turkey
italy_japan Italy and Japan

and the following basin region models:

Name Description
global Global / California
japan Japan

These are simplified into one regional parameter with the following possibilities:

16 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Region Attenuation Basin


global global global
california global global
china china_turkey global
italy italy_japan global
japan italy_japan japan
new zealand italy_japan global
taiwan global global
turkey china_turkey global

Parameters scenario (pygmm.model.Scenario) – earthquake scenario

__init__(scenario: pygmm.model.Scenario)
Initialize the model.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
Continued on next page

4.2. Specific Models 17


pygmm Documentation, Release 0.6.1

Table 13 – continued from previous page


pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.6 pygmm.campbell_2003.Campbell2003

class pygmm.campbell_2003.Campbell2003(scenario: pygmm.model.Scenario)


Bases: pygmm.model.GroundMotionModel
Campbell (2003, [Cam03]) model.
This model was developed for the Eastern US.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
Continued on next page

18 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Table 15 – continued from previous page


ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.7 pygmm.campbell_bozorgnia_2014.CampbellBozorgnia2014

class pygmm.campbell_bozorgnia_2014.CampbellBozorgnia2014(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Campbell and Bozorgnia (2014, [CB14]) model.
This model was developed for active tectonic regions as part of the NGA-West2 effort.
__init__(scenario: pygmm.model.Scenario)
Initialize the model.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario.

Methods

__init__(scenario) Initialize the model.


calc_depth_2_5(v_s30, region, depth_1_0) Calculate the depth to a shear-wave velocity of 2.5
km/sec (𝑍2.5 ).
calc_depth_bor(depth_tor, dip, width) Compute the depth to bottom of the rupture (km).
calc_depth_hyp(mag, dip, depth_tor, Estimate the depth to hypocenter.
depth_bor)
calc_width(mag, dip, depth_tor, depth_bot) Estimate the fault width using Equation (39) of
CB14.
interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEEF_H_4
COEFF
COEFF_C
COEFF_N
Continued on next page

4.2. Specific Models 19


pygmm Documentation, Release 0.6.1

Table 17 – continued from previous page


INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

static calc_depth_2_5(v_s30: float, region: str = ’global’, depth_1_0: Optional[float] = None)


→ float
Calculate the depth to a shear-wave velocity of 2.5 km/sec (𝑍2.5 ).
Provide either v_s30 or depth_1_0.
Parameters
• v_s30 (Optional[float]) – time-averaged shear-wave velocity over the top 30 m of
the site (𝑉𝑠30 , m/s). Keyword Args:
• region (Optional[str]) – region of the basin model. Valid values: “california”,
“japan”. (Default value = ‘global’)
• depth_1_0 (Optional[float]) – depth to the 1.0 kms shear-wave velocity horizon
beneath the site, 𝑍1.0 in (km). (Default value = None)
Returns
• float – estimated depth to a shear-wave velocity of 2.5 km/sec
• float – estimated depth to a shear-wave velocity of 2.5 km/sec (km).
static calc_depth_hyp(mag: float, dip: float, depth_tor: float, depth_bor: float) → float
Estimate the depth to hypocenter.
Parameters
• mag (float) – moment magnitude of the event (𝑀𝑤 )
• dip (float) – fault dip angle (𝜑, deg).

20 Chapter 4. Models
pygmm Documentation, Release 0.6.1

• depth_tor (float) – depth to the top of the rupture plane (𝑍𝑡𝑜𝑟 , km).
• depth_bor (float) – depth to the bottom of the rupture plane (𝑍𝑏𝑜𝑟 , km).
Returns estimated hypocenter depth (km)
Return type float
static calc_width(mag: float, dip: float, depth_tor: float, depth_bot: float = 15.0) → float
Estimate the fault width using Equation (39) of CB14.
Parameters
• mag (float) – moment magnitude of the event (𝑀𝑤 )
• dip (float) – fault dip angle (𝜑, deg).
• depth_tor (float) – depth to the top of the rupture plane (𝑍𝑡𝑜𝑟 , km). Keyword Args:
• depth_bot (Optional[float]) – depth to bottom of seismogenic crust (km). Used
to calculate fault width if none is specified. If None, then a value of 15 km is used. (Default
value = 15.0)
Returns estimated fault width (km)
Return type float
static calc_depth_bor(depth_tor: float, dip: float, width: float) → float
Compute the depth to bottom of the rupture (km).
Parameters
• dip (float) – fault dip angle (𝜑, deg).
• depth_tor (float) – depth to the top of the rupture plane (𝑍𝑡𝑜𝑟 , km).
• width (float) – Down-dip width of the fault.
Returns depth to bottom of the fault rupture (km)
Return type float

4.2.8 pygmm.chiou_youngs_2014.ChiouYoungs2014

class pygmm.chiou_youngs_2014.ChiouYoungs2014(scenario: pygmm.model.Scenario)


Bases: pygmm.model.GroundMotionModel
Chiou and Youngs (2014, [CY14]) model.
This model was developed for active tectonic regions as part of the NGA-West2 effort.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


calc_depth_1_0(v_s30, region) Calculate the depth to 1 km/sec (𝑍1.0 ).
Continued on next page

4.2. Specific Models 21


pygmm Documentation, Release 0.6.1

Table 18 – continued from previous page


calc_depth_tor(mag, mechanism) Calculate an estimate of the depth to top of rupture
(km).
interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

static calc_depth_1_0(v_s30: float, region: str) → float


Calculate the depth to 1 km/sec (𝑍1.0 ).
Parameters
• v_s30 (float) – time-averaged shear-wave velocity over the top 30 m of the site (𝑉𝑠30 ,
m/s).
• region (str) – basin region. Valid options: “california”, “japan”
Returns depth_1_0 – estimated depth to a shear-wave velocity of 1 km/sec (km)
Return type float

22 Chapter 4. Models
pygmm Documentation, Release 0.6.1

static calc_depth_tor(mag: float, mechanism: str) → float


Calculate an estimate of the depth to top of rupture (km).
Parameters
• mag (float) – moment magnitude of the event (𝑀𝑤 )
• mechanism (str) – fault mechanism. Valid options: “U”, “SS”, “NS”, “RS”.
Returns depth_tor – estimated depth to top of rupture (km)
Return type float

4.2.9 pygmm.derras_bard_cotton_2014.DerrasBardCotton2014

class pygmm.derras_bard_cotton_2014.DerrasBardCotton2014(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Derras, Bard and Cotton (2014, [DBC14]) model.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
GRAVITY
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
Continued on next page

4.2. Specific Models 23


pygmm Documentation, Release 0.6.1

Table 21 – continued from previous page


ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.10 pygmm.hermkes_kuehn_riggelsen_2014.HermkesKuehnRiggelsen2014

class pygmm.hermkes_kuehn_riggelsen_2014.HermkesKuehnRiggelsen2014(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Hermkes, Kuehn, Riggelsen (2014, [HKR14]) model.
Only the GPSELinCorr model is implemented. This model must be imported directly by:

from pygmm.hermkes_kuehn_riggelsen_2014 import


HermkesKuehnRiggelsen2014

This is to due to the large file size of the model data, which takes time to load.
Note that this model was developed using a Bayesian non-parametric method, which means it is should only be
used over the data range used to develop the model. See the paper for more details.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
Continued on next page

24 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Table 23 – continued from previous page


LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.11 pygmm.idriss_2014.Idriss2014

class pygmm.idriss_2014.Idriss2014(scenario: pygmm.model.Scenario)


Bases: pygmm.model.GroundMotionModel
Idriss (2014, [Idr14]) model.
This model was developed for active tectonic regions as part of the NGA-West2 effort.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
Continued on next page

4.2. Specific Models 25


pygmm Documentation, Release 0.6.1

Table 25 – continued from previous page


INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.12 pygmm.pezeshk_zandieh_tavakoli_2011.PezeshkZandiehTavakoli2011

class pygmm.pezeshk_zandieh_tavakoli_2011.PezeshkZandiehTavakoli2011(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Pezeshk, Zandieh, and Tavakoli (2011, [PZT11]) model.
Developed for the Eastern North America with a reference velocity of 2000 m/s.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

26 Chapter 4. Models
pygmm Documentation, Release 0.6.1

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

4.2.13 pygmm.tavakoli_pezeshk_2005.TavakoliPezeshk05

class pygmm.tavakoli_pezeshk_2005.TavakoliPezeshk05(scenario:
pygmm.model.Scenario)
Bases: pygmm.model.GroundMotionModel
Tavakoli and Pezeshk (2005, [TP05]) model.
Developed for the Eastern North America with a reference velocity of 2880 m/s.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(scenario: pygmm.model.Scenario)
Initialize the model.

Methods

__init__(scenario) Initialize the model.


interp_ln_spec_accels(periods, . . . ) Interpolate the spectral acceleration.
interp_ln_stds(periods, numpy.ndarray], Interpolate the logarithmic standard deviation.
kind)
Continued on next page

4.2. Specific Models 27


pygmm Documentation, Release 0.6.1

Table 28 – continued from previous page


interp_spec_accels(periods, Interpolate the spectral acceleration.
numpy.ndarray], kind)

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGD
INDEX_PGV
INDICES_PSA
LIMITS
NAME
PARAMS
PERIODS
PGD_SCALE
PGV_SCALE
V_REF
ln_std_pga Peak ground accelaration log-standard deviation.
ln_std_pgd Peak ground displacement log-standard deviation.
ln_std_pgv Peak ground velocity log-standard deviation.
ln_stds Pseudo-spectral accelerations log-standard devia-
tion.
periods Periods specified by the model.
pga Peak ground acceleration (PGA) computed by the
model (g).
pgd Peak ground displacement (PGD) computed by the
model (cm).
pgv Peak ground velocity (PGV) computed by the model
(cm/sec).
scenario
spec_accels Pseudo-spectral accelerations computed by the
model (g).

If you are interested in contributing another model to the collection please see Contributing.

4.3 Conditional Spectrum Models

Conditional spectra models are used to create an acceleration response spectrum conditioned on the response at one or
multiple spectral periods. The The calc_cond_mean_spectrum() provides functions for developing conditional
spectra based on one conditioning period, while the calc_cond_mean_spectrum_vector() uses the same
correlation structure and permits conditioning on multiple periods.

calc_correls Baker and Jayaram (2008, [BJ08]) correlation model.


calc_cond_mean_spectrum Conditional mean spectrum by Baker & Jayaram (2008,
[BJ08]).
calc_cond_mean_spectrum_vector Kishida (2017, [Kis17]) conditional spectrum.

28 Chapter 4. Models
pygmm Documentation, Release 0.6.1

4.3.1 pygmm.baker_jayaram_2008.calc_correls

pygmm.baker_jayaram_2008.calc_correls(periods: Union[List[float], numpy.ndarray], pe-


riod_cond: float) → numpy.ndarray
Baker and Jayaram (2008, [BJ08]) correlation model.
Parameters
• periods (array_like) – Periods at which the correlation should be computed.
• period_cond (float) – Conditioning period
Returns correls – Correlation coefficients
Return type np.ndarray

4.3.2 pygmm.baker_jayaram_2008.calc_cond_mean_spectrum

pygmm.baker_jayaram_2008.calc_cond_mean_spectrum(periods: Union[List[float],
numpy.ndarray], ln_psas:
Union[List[float], numpy.ndarray],
ln_stds: Union[List[float],
numpy.ndarray], period_cond:
float, ln_psa_cond: float) ->
(<class ’numpy.ndarray’>, <class
’numpy.ndarray’>)
Conditional mean spectrum by Baker & Jayaram (2008, [BJ08]).
Parameters
• periods (array_like) – Response spectral periods.
• ln_psas (array_like) – Natural logarithm of the 5%-damped spectral accelerations.
• ln_stds (array_like) – Logarithmic standard deviations.
• period_cond (float) – Conditioning period. This period does not need to be included
in periods.
• ln_psa_cond (float) – Natural logarithm of the response at the conditioning period.
Returns
• ln_psas_cms (np.ndarray) – Natural logarithm of the conditional mean spectral accel-
erations.
• ln_stds_cms (np.ndarray) – Logarithmic standard deviation of the conditional mean
spectral acceleration.

4.3.3 pygmm.kishida_2017.calc_cond_mean_spectrum_vector

pygmm.kishida_2017.calc_cond_mean_spectrum_vector(periods: Union[List[float],
numpy.ndarray], ln_psas:
Union[List[float], numpy.ndarray],
ln_stds: Union[List[float],
numpy.ndarray], ln_psas_cond:
Union[List[float], numpy.ndarray])
-> (<class ’numpy.ndarray’>,
<class ’numpy.ndarray’>)
Kishida (2017, [Kis17]) conditional spectrum.

4.3. Conditional Spectrum Models 29


pygmm Documentation, Release 0.6.1

Conditional mean spectrum vector (CMSV) by Kishida (2017, [Kis17]) is specifying the target spectral ac-
celeration at multiple periods, rather than the single conditioning period by Cornell and Baker (2008). If this
approach is used for a single period, then the resulting spectrum is the same as computed by Cornell and Baker
(2008) – implemented by calc_cond_mean_spectrum().
Parameters
• periods (array_like) – Spectral periods of the response spectrum [sec]. This array
must be increasing.
• ln_psas (array_like) – Natural logarithm of the spectral acceleration. Same length
as periods.
• ln_stds (array_like) – Logarithmic standard deviation of the spectral acceleration.
Same length as periods.
• ln_psas_cond (np.ma.masked_array) – The vector of conditioning spectral accel-
erations. This is a masked array with the same length as periods. Masked values are not
used for defining the CMSV.
Returns
• ln_psas_cmsv (np.ndarray) – Natural logarithm of the conditional mean spectral accel-
erations.
• ln_stds_cmsv (np.ndarray) – Logarithmic standard deviation of the conditional mean
spectral acceleration.
Raises ValueError – If periods are monotonically increasing.

4.4 Vertical-to-Horizontal (V/H) Models

Vertical-to-horizontal models are used to compute the vertical acceleration response spectrum from a horizontal re-
sponse spectrum.

GulerceAbrahamson2011 Gülerce and Abrahamson (2011, [GulerceA11]) V/H


model.

4.4.1 pygmm.gulerce_abrahamson_2011.GulerceAbrahamson2011

class pygmm.gulerce_abrahamson_2011.GulerceAbrahamson2011(*args, **kwargs)


Bases: pygmm.model.Model
Gülerce and Abrahamson (2011, [GulerceA11]) V/H model.
This model was developed for active tectonic regions.
Parameters scenario (pygmm.model.Scenario) – earthquake scenario
__init__(*args, **kwargs)
Initialize the model.

Methods

30 Chapter 4. Models
pygmm Documentation, Release 0.6.1

__init__(*args, **kwargs) Initialize the model.

Attributes

ABBREV
COEFF
INDEX_PGA
INDEX_PGV
INDICES_PSA
NAME
PARAMS
PERIODS
V_REF
ln_std
ratio
scenario

4.4. Vertical-to-Horizontal (V/H) Models 31


pygmm Documentation, Release 0.6.1

32 Chapter 4. Models
CHAPTER 5

Contributing

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:

5.1 Types of Contributions

5.1.1 Report Bugs

Report bugs at https://github.com/arkottke/pygmm/issues.


If you are reporting a bug, please include:
• Your operating system name and version.
• Any details about your local setup that might be helpful in troubleshooting.
• Detailed steps to reproduce the bug.

5.1.2 Fix Bugs

Look through the GitHub issues for bugs. Anything tagged with “bug” is open to whoever wants to implement it.

5.1.3 Implement Features

Look through the GitHub issues for features. Anything tagged with “feature” is open to whoever wants to implement
it.

33
pygmm Documentation, Release 0.6.1

5.1.4 Write Documentation

pygmm could always use more documentation, whether as part of the official‘pygmm‘ docs, in docstrings, or even on
the web in blog posts, articles, and such.

5.1.5 Submit Feedback

The best way to send feedback is to file an issue at https://github.com/arkottke/pygmm/issues.


If you are proposing a feature:
• Explain in detail how it would work.
• Keep the scope as narrow as possible, to make it easier to implement.
• Remember that this is a volunteer-driven project, and that contributions are welcome :)

5.2 Get Started!

Ready to contribute? Here’s how to set up pygmm for local development.


1. Fork the pygmm repo on GitHub.
2. Clone your fork locally:

$ git clone git@github.com:your_name_here/pygmm.git

3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up
your fork for local development:

$ mkvirtualenv pygmm
$ cd pygmm/
$ python setup.py develop

4. Create a branch for local development:

$ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.


5. When you’re done making changes, check that your changes pass flake8 and the tests, including testing other
Python versions with tox:

$ flake8 pygmm tests


$ python setup.py test
$ tox

To get flake8 and tox, just pip install them into your virtualenv.
6. Commit your changes and push your branch to GitHub:

$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature

7. Submit a pull request through the GitHub website.

34 Chapter 5. Contributing
pygmm Documentation, Release 0.6.1

5.3 Pull Request Guidelines

Before you submit a pull request, check that it meets these guidelines:
1. The pull request should include tests.
2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function
with a docstring, and add the feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check https://travis-ci.org/
arkottke/pygmm/pull_requests and make sure that the tests pass for all supported Python versions.

5.4 Tips

To run a subset of tests:

$ python -m unittest tests.test_pygmm

5.3. Pull Request Guidelines 35


pygmm Documentation, Release 0.6.1

36 Chapter 5. Contributing
CHAPTER 6

Credits

6.1 Development Lead

• Albert Kottke <albert.kottke@gmail.com>

6.2 Contributors

None yet. Why not be the first?

37
pygmm Documentation, Release 0.6.1

38 Chapter 6. Credits
CHAPTER 7

History

7.1 0.6.1 (2020-06-03)

• Added Coppersmith & Bommer (2014) model for Hanford


• Factored tests

7.2 0.6.0 (2019-08-12)

• Added Abrahamson, Gregor, Addo (2014)


• Added Abrahamson & Gulerce (2011)
• Added conditional mean spectra models.
• Added Scenario objects.
• Added typing for all classes.

7.3 0.4.0 (2016-04-08)

• Added Hermkes et al. (2014).


• Improved documentation.
• Added Baker & Jayaram (2008), Kishida (2017)

7.4 0.3.2 (2016-03-30)

• Nothing changed yet.

39
pygmm Documentation, Release 0.6.1

7.5 0.3.1 (2016-03-30)

• First release on PyPI.

40 Chapter 7. History
CHAPTER 8

References

41
pygmm Documentation, Release 0.6.1

42 Chapter 8. References
CHAPTER 9

Indices and tables

• genindex
• search

43
pygmm Documentation, Release 0.6.1

44 Chapter 9. Indices and tables


Bibliography

[ASK14] Norman A Abrahamson, Walter J Silva, and Ronnie Kamai. Summary of the ASK14 ground motion
relation for active crustal regions. Earthquake Spectra, 30(3):1025–1055, 2014.
[ASB14] S Akkar, MA Sandikkaya, and Julian J Bommer. Empirical ground-motion models for point-and
extended-source crustal earthquake scenarios in Europe and the Middle East. Bulletin of earthquake en-
gineering, 12(1):359–387, 2014. doi:10.1007/10518-013-9461-4.
[AB06] Gail M. Atkinson and David M. Boore. Earthquake ground-motion prediction equations for eastern North
America. Bulletin of the Seismological Society of America, 96(6):2181–2205, 2006.
[BJ08] Jack W Baker and Nirmal Jayaram. Correlation of spectral acceleration values from nga ground motion
models. Earthquake Spectra, 24(1):299–317, 2008.
[BSSA14] David M Boore, Jonathan P Stewart, Emel Seyhan, and Gail M Atkinson. NGA-West2 equations
for predicting pga, pgv, and 5% damped psa for shallow crustal earthquakes. Earthquake Spectra,
30(3):1057–1085, 2014.
[Cam03] Kenneth W Campbell. Prediction of strong ground motion using the hybrid empirical method and its use
in the development of ground-motion (attenuation) relations in eastern North America. Bulletin of the
Seismological Society of America, 93(3):1012–1033, 2003.
[CB14] Kenneth W Campbell and Yousef Bozorgnia. NGA-West2 ground motion model for the average horizon-
tal components of pga, pgv, and 5% damped linear acceleration response spectra. Earthquake Spectra,
30(3):1087–1115, 2014.
[CY14] Brian S-J Chiou and Robert R Youngs. Update of the chiou and youngs NGA model for the average hor-
izontal component of peak ground motion and response spectra. Earthquake Spectra, 30(3):1117–1153,
2014.
[DBC14] Boumédiène Derras, Pierre Yves Bard, and Fabrice Cotton. Towards fully data driven ground-
motion prediction models for Europe. Bulletin of Earthquake Engineering, 12(1):495–516, 2014.
doi:10.1007/s10518-013-9481-0.
[GulerceA11] Zeynep Gülerce and Norman A Abrahamson. Site-specific design spectra for vertical ground motion.
Earthquake Spectra, 27(4):1023–1047, 2011.
[HKR14] Marcel Hermkes, Nicolas M Kuehn, and Carsten Riggelsen. Simultaneous quantification of epistemic
and aleatory uncertainty in gmpes using gaussian process regression. Bulletin of earthquake engineering,
12(1):449–466, 2014.

45
pygmm Documentation, Release 0.6.1

[Idr14] IM Idriss. An NGA-West2 empirical model for estimating the horizontal spectral values generated by
shallow crustal earthquakes. Earthquake Spectra, 30(3):1155–1177, 2014.
[Kis17] Tadahiro Kishida. Conditional mean spectra given a vector of spectral accelerations at multiple periods.
Earthquake Spectra, 2017.
[PZT11] Shahram Pezeshk, Arash Zandieh, and Behrooz Tavakoli. Hybrid empirical ground-motion prediction
equations for eastern North America using NGA models and updated seismological parameters. Bulletin
of the Seismological Society of America, 101(4):1859–1870, 2011.
[SATC97] WJ Silva, Norman Abrahamson, Giulio Toro, and Carl Costantino. Description and validation of the
stochastic ground motion model. Submitted to Brookhaven National Laboratory, Associated Universities,
Inc. Upton, New York, 1997.
[SRS+14] Paul Spudich, Badie Rowshandel, Shrey K Shahi, Jack W Baker, and Brian S-J Chiou. Comparison of
NGA-West2 directivity models. Earthquake Spectra, 30(3):1199–1221, 2014.
[TP05] Behrooz Tavakoli and Shahram Pezeshk. Empirical-stochastic ground-motion prediction for eastern North
America. Bulletin of the Seismological Society of America, 95(6):2283–2296, 2005.

46 Bibliography
Index

Symbols AkkarSandikkayaBommer2014 (class in


pygmm.akkar_sandikkaya_bommer_2014),
__init__() (pygmm.abrahamson_gregor_addo_2016.AbrahamsonGregorAddo2016
method), 11 14
AtkinsonBoore2006
__init__() (pygmm.abrahamson_silva_kamai_2014.AbrahamsonSilvaKamai2014 (class in
method), 12 pygmm.atkinson_boore_2006), 15
__init__() (pygmm.akkar_sandikkaya_bommer_2014.AkkarSandikkayaBommer2014
method), 14 B
BooreStewartSeyhanAtkinson2014 (class in
__init__() (pygmm.atkinson_boore_2006.AtkinsonBoore2006
method), 15 pygmm.boore_stewart_seyhan_atkinson_2014),
16
__init__() (pygmm.boore_stewart_seyhan_atkinson_2014.BooreStewartSeyhanAtkinson2014
method), 17
__init__() (pygmm.campbell_2003.Campbell2003 C
method), 18 calc_cond_mean_spectrum() (in module
pygmm.baker_jayaram_2008), 29
__init__() (pygmm.campbell_bozorgnia_2014.CampbellBozorgnia2014
method), 19 calc_cond_mean_spectrum_vector() (in mod-
__init__() (pygmm.chiou_youngs_2014.ChiouYoungs2014 ule pygmm.kishida_2017), 29
method), 21 calc_correls() (in module
pygmm.baker_jayaram_2008), 29
__init__() (pygmm.derras_bard_cotton_2014.DerrasBardCotton2014
method), 23 calc_depth_1_0() (pygmm.abrahamson_silva_kamai_2014.Abrahams
static method), 13
__init__() (pygmm.gulerce_abrahamson_2011.GulerceAbrahamson2011
method), 30 calc_depth_1_0() (pygmm.chiou_youngs_2014.ChiouYoungs2014
static method), 22
__init__() (pygmm.hermkes_kuehn_riggelsen_2014.HermkesKuehnRiggelsen2014
method), 24 calc_depth_2_5() (pygmm.campbell_bozorgnia_2014.CampbellBozor
__init__() (pygmm.idriss_2014.Idriss2014 method), static method), 20
25 calc_depth_bor() (pygmm.campbell_bozorgnia_2014.CampbellBozor
__init__() (pygmm.model.Model method), 9 static method), 21
calc_depth_hyp() (pygmm.campbell_bozorgnia_2014.CampbellBozor
__init__() (pygmm.pezeshk_zandieh_tavakoli_2011.PezeshkZandiehTavakoli2011
method), 26 static method), 20
calc_depth_tor() (pygmm.abrahamson_silva_kamai_2014.Abrahams
__init__() (pygmm.tavakoli_pezeshk_2005.TavakoliPezeshk05
method), 27 static method), 13
calc_depth_tor() (pygmm.chiou_youngs_2014.ChiouYoungs2014
A static method), 22
ABBREV (pygmm.model.Model attribute), 10 calc_width() (pygmm.abrahamson_silva_kamai_2014.AbrahamsonSilv
AbrahamsonGregorAddo2016 (class in static method), 13
pygmm.abrahamson_gregor_addo_2016), calc_width() (pygmm.campbell_bozorgnia_2014.CampbellBozorgnia2
11 static method), 21
AbrahamsonSilvaKamai2014 (class in Campbell2003 (class in pygmm.campbell_2003), 18
pygmm.abrahamson_silva_kamai_2014), CampbellBozorgnia2014 (class in
12 pygmm.campbell_bozorgnia_2014), 19

47
pygmm Documentation, Release 0.6.1

ChiouYoungs2014 (class in
pygmm.chiou_youngs_2014), 21

D
DerrasBardCotton2014 (class in
pygmm.derras_bard_cotton_2014), 23

G
GulerceAbrahamson2011 (class in
pygmm.gulerce_abrahamson_2011), 30

H
HermkesKuehnRiggelsen2014 (class in
pygmm.hermkes_kuehn_riggelsen_2014),
24

I
Idriss2014 (class in pygmm.idriss_2014), 25

M
Model (class in pygmm.model), 9

N
NAME (pygmm.model.Model attribute), 10

P
PezeshkZandiehTavakoli2011 (class in
pygmm.pezeshk_zandieh_tavakoli_2011),
26

T
TavakoliPezeshk05 (class in
pygmm.tavakoli_pezeshk_2005), 27

48 Index

You might also like