Class to apply amplification from the GMPE tables.
|Attr shape:||Shape of the amplification arrays as a tuple of (Number Distances, Number IMTs, Number Magnitudes, Number Amplification Levels)|
|Attr periods:||Spectral periods defined in table|
|Attr mean:||Amplification factors for the mean ground motion|
|Attr sigma:||List of modification factors for the standard deviation of ground motion|
|Magnitude values for the tables|
|Attr distances:||Distance values for the tables|
|Attr parameter:||Parameter to which the amplification applies. Must be an element inside the __slots__ defines in the :class: openquake.hazardlib. gsim.base.RuptureContext or the :class: openquake.hazardlib.gsim.base. SitesContext|
|Attr values:||Array of values to which each amplification table corresponds|
|Attr element:||Indicates if the amplification corresponds to a rupture attribute or a site attribute|
Returns the amplification factors for the given rupture and site conditions.
Returns amplification factors for the mean, given the rupture and intensity measure type.
|Returns:||amplification table as an array of [Number Distances, Number Levels]|
Return the parameter as an instance a Python set
Returns modification factors for the standard deviations, given the rupture and intensity measure type.
|Returns:||List of standard deviation modification tables, each as an array of [Number Distances, Number Levels]|
Implements ground motion prediction equations in the form of a table from which the expected ground motion intensity levels and standard deviations are interpolated.
In a GMPE tables the expected ground motions for each of the IMTs over the range of magnitudes and distances are stored in an hdf5 file on the path specified by the user.
In this version of the GMPE the expected values are interpolated to the required IMT, magnitude and distance in three stages.
Interpolates the tables to the required magnitude level
Returns the mean and standard deviations