Hazard Subpackage Structure

Main Goal Of this Subpackage

The main goals of this subpackage are:

  • Getting the natural hazard probabilistic data (Magnitude and probability of occurrence each magnitude)

  • Returning magnitude corresponding to random created samples between zero and 1

_GlobalParameters

In the following tables the existing global parameters and methods in _GlobalParameters.py of this subpackage has been shown:

Global parameters

Parameter

Description

SampledMagnitude

It shows that each class(in the module) should store the sampled magnitude in each analysis in this parameter.

Global methods

Method

Arguments

Description

SampleRandomMagnitude

rnd [1]

It shows that each class(in the module) should have this method for returning the magnitude corresponding the entered random variable.

wipeAnalysisGlobal

Shows the global parameters that should be initialize and the beginning of each analysis as described here.

Existing modules

In the following the existing modules for this subpackage are described: