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).
-
GMRotI50= 'Average Horizontal (GMRotI50)'¶ An orientation-independent alternative to
AVERAGE_HORIZONTAL. Defined at Boore et al. (2006, Bull. Seism. Soc. Am. 96, 1502-1511) 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.
-
RANDOM_HORIZONTAL= 'Random horizontal'¶ A randomly chosen horizontal component.
-
RotD50= 'Average Horizontal (RotD50)'¶ An orientation-independent alternative to
AVERAGE_HORIZONTAL. Defined at Boore et al. (2006, Bull. Seism. Soc. Am. 96, 1502-1511) and is used for all the NGA GMPEs.
-
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 intra-event 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()).
-