[cig-commits] r20909 - short/3D/PyLith/branches/v1.7-trunk/tests_auto/eqinfo

brad at geodynamics.org brad at geodynamics.org
Wed Oct 24 12:42:03 PDT 2012


Author: brad
Date: 2012-10-24 12:42:03 -0700 (Wed, 24 Oct 2012)
New Revision: 20909

Modified:
   short/3D/PyLith/branches/v1.7-trunk/tests_auto/eqinfo/TestEqInfo.py
Log:
Fixed typo in moment magnitude expression.

Modified: short/3D/PyLith/branches/v1.7-trunk/tests_auto/eqinfo/TestEqInfo.py
===================================================================
--- short/3D/PyLith/branches/v1.7-trunk/tests_auto/eqinfo/TestEqInfo.py	2012-10-24 18:44:06 UTC (rev 20908)
+++ short/3D/PyLith/branches/v1.7-trunk/tests_auto/eqinfo/TestEqInfo.py	2012-10-24 19:42:03 UTC (rev 20909)
@@ -42,7 +42,7 @@
              ]
 
     statsE.avgslip = statsE.potency / (statsE.ruparea + 1.0e-30)
-    statsE.mommag = 2.0/3.0*numpy.log10(statsE.moment) - 10.7
+    statsE.mommag = 2.0/3.0*(numpy.log10(statsE.moment) - 9.05)
 
     for attr in attrs:
       valuesE = statsE.__getattribute__(attr)



More information about the CIG-COMMITS mailing list