shakelib.gmice.fm11

class shakelib.gmice.fm11.FM11[source]

Bases: shakelib.gmice.gmice.GMICE

Implements the ground motion intensity conversion equations (GMICE) of Faenza and Michelini (2010, 2011).

References

Faenza and Michelini,(2010). Regression analysis of MCS intensity and ground motion parameters in Italy and its application in ShakeMap. GJI, 180, 1138-1152, doi: 10.1111/j.1365-246X.2009.04467.xself and Faenza and Michelini (2011). Regression analysis of MCS intensity and ground motion spectral accelerations (SAs) in Italy. GJI, 186, 1415-1430, doi: 10.1111/j.1365-246X.2011.05125.x

getMIfromGM(amps, imt, dists=None, mag=None)[source]

Function to compute macroseismic intensity from ground-motion intensity. Supported ground-motion IMTs are PGA, PGV and PSA at 0.3, 1.0, and 3.0 sec periods.

Parameters:
  • amps (ndarray) – Ground motion amplitude; natural log units; g for PGA and PSA, cm/s for PGV.

  • imt (OpenQuake IMT) – Type the input amps (must be one of PGA, PGV, or SA). Supported SA periods are 0.3, 1.0, and 3.0 sec. [link] <http://docs.openquake.org/oq-hazardlib/master/imt.html>

  • dists (ndarray) – Not used

  • mag (float) – Not used

Returns:

ndarray of Modified Mercalli Intensity and ndarray of dMMI / dln(amp) (i.e., the slope of the relationship at the point in question).

getGMfromMI(mmi, imt, dists=None, mag=None)[source]

Function to tcompute ground-motion intensity from macroseismic intensity. Supported IMTs are PGA, PGV and PSA for 0.3, 1.0, and 3.0 sec periods.

Parameters:
  • mmi (ndarray) – Macroseismic intensity.

  • imt (OpenQuake IMT) – IMT of the requested ground-motions intensities (must be one of PGA, PGV, or SA). [link] <http://docs.openquake.org/oq-hazardlib/master/imt.html>

  • dists (ndarray) – Not used

  • mag (float) – Not used

Returns:

Ndarray of ground motion intensity in natural log of g for PGA and PSA, and natural log cm/s for PGV; ndarray of dln(amp) / dMMI (i.e., the slope of the relationship at the point in question).

getGM2MIsd()[source]

Return a dictionary of standard deviations for the ground-motion to MMI conversion. The keys are the ground motion types.

Returns:

Dictionary of GM to MI sigmas (in MMI units).

getMI2GMsd()[source]

Return a dictionary of standard deviations for the MMI to ground-motion conversion. The keys are the ground motion types.

Returns:

Dictionary of MI to GM sigmas (ln(PGM) units).