shakelib.conversions.imt.bommer_alarcon_2006

class shakelib.conversions.imt.bommer_alarcon_2006.BommerAlarcon2006[source]

Bases: shakelib.conversions.convert_imt.IMTConverter

Class for conversion between PGV (units of cm/s) and PSA05 (units of g) by Bommer and Alarcon (2006).

  • PSA05 stands for spectral acceleration with oscillator period of 0.5 sec

  • PGV is peak ground velocity.

References

Bommer, J. J., & Alarcon, J. E. (2006). The prediction and use of peak ground velocity. Journal of Earthquake Engineering, 10(01), 1-31. [link]

convertAmps(imt_in, imt_out, imt)[source]

Returns an array of converted IMT amplitude values.

Parameters:
  • imt_in (str) – OQ intensity measure type. Same as type as the input values defined by the imt variable.

  • imt_out (str) – OQ intensity measure type that the values will be converted to.

  • imt (OpenQuake IMT) – The intensity measurements of the input ground motions. Valid IMTs are PGV, and SA.

Returns:

Numpy array of amps converted from imt_in to imt_out.

Return type:

array

Raises:

ValueError – If not a valid conversion.