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

removed backbone log-lin-log conversion

parent e85af762
No related branches found
No related tags found
1 merge request!436Prvi gmm 251
......@@ -29,8 +29,6 @@ import static gov.usgs.earthquake.nshmp.gmm.GroundMotions.EPI_IDS;
import static gov.usgs.earthquake.nshmp.gmm.GroundMotions.EPI_WTS;
import static gov.usgs.earthquake.nshmp.gmm.SubductionZone.Type.INTERFACE;
import static gov.usgs.earthquake.nshmp.gmm.SubductionZone.Type.SLAB;
import static java.lang.Math.exp;
import static java.lang.Math.log;
import static java.lang.Math.sqrt;
import java.util.Map;
......@@ -178,10 +176,10 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
GroundMotion gm = (gmTree.size() == 1)
? gmTree.get(0).value()
: gmTree.get(1).value();
median += exp(gm.mean()) * b.weight();
median += gm.mean() * b.weight();
sigmaSq += gm.sigma() * gm.sigma() * b.weight();
}
return GroundMotion.create(log(median), sqrt(sigmaSq));
return GroundMotion.create(median, sqrt(sigmaSq));
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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