[cig-commits] [commit] master: PyAxi: Adapt to new reference files (64d57f5)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri Oct 17 00:45:51 PDT 2014
Repository : https://github.com/geodynamics/axisem
On branch : master
Link : https://github.com/geodynamics/axisem/compare/eeb801f118c4bb6cfc58dbb00d135b4b43740c1e...64d57f52a76068979585ad03c8331ae0752efab9
>---------------------------------------------------------------
commit 64d57f52a76068979585ad03c8331ae0752efab9
Author: sstaehler <staehler at geophysik.uni-muenchen.de>
Date: Fri Oct 17 09:44:05 2014 +0200
PyAxi: Adapt to new reference files
* Reference traces start at t=0s, too.
* Removes workaround from b5d270c74aaab1fe654a391e1944febef04a66bc
>---------------------------------------------------------------
64d57f52a76068979585ad03c8331ae0752efab9
TESTING/PyAxi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TESTING/PyAxi.py b/TESTING/PyAxi.py
index 61c5d37..90ca06c 100644
--- a/TESTING/PyAxi.py
+++ b/TESTING/PyAxi.py
@@ -990,7 +990,7 @@ def PyAxi(**kwargs):
ax.plot(t[i], dat + n, colors[i], label='_nolegend_', ls=linestyles[i])
# compute l2 misfits
dat1 = sgs[0].select(station=stat, channel='*'+chan)[0].data
- dat2 = sgs[2].select(station=stat, channel='*'+chan)[0].data[1:]
+ dat2 = sgs[2].select(station=stat, channel='*'+chan)[0].data
l2misfit.append(((dat1 - dat2)**2).sum()**.5 / maxi /
sgs[0][0].stats.npts)
More information about the CIG-COMMITS
mailing list