Constants¶
Module openquake.hazardlib.const
defines various constants.

class
openquake.hazardlib.const.
ConstantContainer
[source]¶ Class that doesn’t support instantiation.
>>> ConstantContainer() Traceback (most recent call last): ... AssertionError: do not create objects ConstantContainer, use class properties instead

class
openquake.hazardlib.const.
IMC
[source]¶ The intensity measure component is the component of interest of ground shaking for an
intensity measure
.
AVERAGE_HORIZONTAL
= 'Average horizontal'¶ Usually defined as the geometric average of the maximum of the two horizontal components (which may not occur at the same time).

GMRotD100
= 'Average Horizontal (GMRotD100)'¶ The geometric mean of the records rotated into the most adverse direction for the structure.

GMRotI50
= 'Average Horizontal (GMRotI50)'¶ An orientationindependent alternative to
AVERAGE_HORIZONTAL
. Defined at Boore et al. (2006, Bull. Seism. Soc. Am. 96, 15021511) and is used for all the NGA GMPEs.

GREATER_OF_TWO_HORIZONTAL
= 'Greater of two horizontal'¶ The largest value obtained from two perpendicular horizontal components.

HORIZONTAL
= 'Horizontal'¶ The horizontal component.

MEDIAN_HORIZONTAL
= 'Median horizontal'¶ The median horizontal component.

PEAK_SRSS_HORIZONTAL
= 'Peak square root of sum of squares of horizontals'¶ “the peak square root of the sum of squares of two orthogonal horizontal components in the time domain” p. 880 of Kanno et al. (2006, Bull. Seism. Soc. Am. 96, 879897)

RANDOM_HORIZONTAL
= 'Random horizontal'¶ A randomly chosen horizontal component.

RotD50
= 'Average Horizontal (RotD50)'¶ An orientationindependent alternative to
AVERAGE_HORIZONTAL
. Defined at Boore et al. (2006, Bull. Seism. Soc. Am. 96, 15021511) and is used for all the NGA GMPEs.

VECTORIAL
= 'Square root of sum of squares of peak horizontals'¶ “Vectorial addition: a_V = sqrt(maxa_1(t)^2 + maxa_2(t)^2)). This means that the maximum ground amplitudes occur simultaneously on the two horizontal components; this is a conservative assumption.” p. 53 of Douglas (2003, EarthSci. Rev. 61, 43104)

VERTICAL
= 'Vertical'¶ The vertical component.


class
openquake.hazardlib.const.
StdDev
[source]¶ GSIM standard deviation represents ground shaking variability at a site.

INTER_EVENT
= 'Inter event'¶ Standard deviation representing ground shaking variability within different events.

INTRA_EVENT
= 'Intra event'¶ Standard deviation representing ground shaking variability within a single event.

TOTAL
= 'Total'¶ Total standard deviation, defined as the square root of the sum of inter and intraevent squared standard deviations, represents the total ground shaking variability, and is the only one that is used for calculating a probability of intensity exceedance (see
openquake.hazardlib.gsim.base.GroundShakingIntensityModel.get_poes()
).
