Calculate Target Ground Motion From A Hazard Curve
getGroundMotionForProbability(probability) :: groundMotion
- Convert probability to AFE
AFE = -Math.log(1 - probability) / 50;
- Find points whose y-values bound the target AFE.
- Perform linear interpolation in logXlogY domain to obtain target ground motion.