Skip to content
Snippets Groups Projects
Commit e9a01d8d authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

Imt.period() update

parent 5413f51b
No related branches found
No related tags found
1 merge request!400Imt edits
...@@ -132,8 +132,12 @@ public class Idriss_2014 implements GroundMotionModel { ...@@ -132,8 +132,12 @@ public class Idriss_2014 implements GroundMotionModel {
// Aleatory uncertainty model // Aleatory uncertainty model
private static final double calcStdDev(Coefficients c, double Mw) { private static final double calcStdDev(Coefficients c, double Mw) {
double s1 = 0.035; double s1 = 0.035;
Double T = c.imt.period(); if (c.imt.isSA()) {
s1 *= (T == null || T <= 0.05) ? log(0.05) : (T < 3.0) ? log(T) : log(3d); double T = c.imt.period();
s1 *= (T <= 0.05) ? log(0.05) : (T < 3.0) ? log(T) : log(3.0);
} else {
s1 *= 0.05;
}
double s2 = 0.06; double s2 = 0.06;
s2 *= (Mw <= 5.0) ? 5.0 : (Mw < 7.5) ? Mw : 7.5; s2 *= (Mw <= 5.0) ? 5.0 : (Mw < 7.5) ? Mw : 7.5;
return 1.18 + s1 - s2; return 1.18 + s1 - s2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment