Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Intensity ¶
func Intensity(ie IntensityEquation, vel float64) int32
convert peak velocity in m/s into integer MMI intensity
Types ¶
type FaenzaMichelini2010 ¶
type FaenzaMichelini2010 struct{}
L. Faenza and A. Michelini (2010), "Regression analysis of MCS Intensity and ground motion parameters in Italy and its application in ShakeMap", Geophysical Journal International, 180: 1138–1152.
func (FaenzaMichelini2010) RawIntensity ¶
func (fn FaenzaMichelini2010) RawIntensity(vel float64) float64
type HighPass ¶
type HighPass struct {
// contains filtered or unexported fields
}
func NewHighPass ¶
type Integrator ¶
type Integrator struct {
// contains filtered or unexported fields
}
func NewIntegrator ¶
func NewIntegrator(gain float64, dt float64, q float64) *Integrator
func (*Integrator) Reset ¶
func (f *Integrator) Reset()
func (*Integrator) Sample ¶
func (f *Integrator) Sample(x float64) float64
func (*Integrator) Set ¶
func (f *Integrator) Set(y float64)
type IntensityEquation ¶
algorithm to convert peak velocity in m/s into MMI intensity
type Moratalla2020 ¶
type Moratalla2020 struct{}
"New Ground Motion to Intensity Conversion Equations (GMICEs) for New Zealand" - Jose M. Moratalla et. al. Seismological Research Letters 92 (2020), 448–459, doi: 10.1785/0220200156
func (Moratalla2020) RawIntensity ¶
func (fn Moratalla2020) RawIntensity(vel float64) float64
type Stream ¶
type Stream struct { Rate float64 HighPass *HighPass Integrator *Integrator Last time.Time }
running acceleration stream state information
type WaldQuitorianoHeatonKanamori1999 ¶
type WaldQuitorianoHeatonKanamori1999 struct{}
David J. Wald, Vincent Quitoriano, Thomas H. Heaton, and Hiroo Kanamori (1999), "Relationships between Peak Ground Acceleration, Peak Ground Velocity, and Modified Mercalli Intensity in California", Earthquake Spectra, Volume 15, No. 3, August 1999.
func (WaldQuitorianoHeatonKanamori1999) RawIntensity ¶
func (fn WaldQuitorianoHeatonKanamori1999) RawIntensity(vel float64) float64