[cig-commits] r13368 - in seismo/3D/ADJOINT_TOMO/flexwin: . latex
carltape at geodynamics.org
carltape at geodynamics.org
Fri Nov 21 08:23:14 PST 2008
Author: carltape
Date: 2008-11-21 08:23:14 -0800 (Fri, 21 Nov 2008)
New Revision: 13368
Modified:
seismo/3D/ADJOINT_TOMO/flexwin/latex/flexwin_paper.pdf
seismo/3D/ADJOINT_TOMO/flexwin/latex/method.tex
seismo/3D/ADJOINT_TOMO/flexwin/seismo_subs.f90
Log:
FLEXWIN paper update, update to xcorr subroutine.
Modified: seismo/3D/ADJOINT_TOMO/flexwin/latex/flexwin_paper.pdf
===================================================================
(Binary files differ)
Modified: seismo/3D/ADJOINT_TOMO/flexwin/latex/method.tex
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/latex/method.tex 2008-11-21 13:26:13 UTC (rev 13367)
+++ seismo/3D/ADJOINT_TOMO/flexwin/latex/method.tex 2008-11-21 16:23:14 UTC (rev 13368)
@@ -288,7 +288,7 @@
%{\bf CHT: I DO NOT THINK THAT THIS REFLECTS THE IMPLEMENTATION.}
\begin{equation}
\Gamma(t) = \frac {\int \widetilde{s}(t') \widetilde{d}(t'+t)\,\rmd t'}
- { \left[\int \widetilde{s}^2(t')\,\rmd t' \int \widetilde{d}^2(t'+t)\,\rmd t' \right]^{1/2}}
+ { \left[\int \widetilde{s}^2(t')\,\rmd t' \int \widetilde{d}^2(t')\,\rmd t' \right]^{1/2}}
\end{equation}
quantifies the similarity in shape between the $\widetilde{s}(t)$ and $\widetilde{d}(t)$
waveforms. The time lag $\Delta \tau$ is defined as the value of $t$
Modified: seismo/3D/ADJOINT_TOMO/flexwin/seismo_subs.f90
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/seismo_subs.f90 2008-11-21 13:26:13 UTC (rev 13367)
+++ seismo/3D/ADJOINT_TOMO/flexwin/seismo_subs.f90 2008-11-21 16:23:14 UTC (rev 13368)
@@ -675,7 +675,7 @@
! local variables
integer :: nlen
integer :: i_left, i_right, i, j, id_left, id_right
- double precision :: cc, norm, norm_s
+ double precision :: cc, norm, norm_s, fout
! initialise shift and cross correlation to zero
ishift = 0
@@ -694,11 +694,14 @@
! left and right limits of index (time) shift search
! NOTE: This looks OUTSIDE the time window of interest to compute TSHIFT and CC.
- ! How far to look outside, in theory, should be another parameter.
+ ! If fout=0.5, then it looks outside by a time of 0.5*(window width).
+ ! Perhaps fout should be a parameter, or it should be tied to the max
+ ! allowable time-shift specified by the user.
! However, it does not matter as much if the data and synthetics are
! zeroed outside the windows, as currently done in calc_criteria.
- i_left = -1*int(nlen/2.0)
- i_right = int(nlen/2.0)
+ fout = 0.5
+ i_left = -1*int(fout*nlen)
+ i_right = int(fout*nlen)
! i is the index to shift to be applied to DATA (d)
do i = i_left, i_right
@@ -728,7 +731,7 @@
! i i1+i i2+i id_left id_right
! -11 9 30 9 30
! -5 15 36 15 36
- ! 0 20 41 20 41
+ ! 0 20 41 20 41 <== ORIGINAL WINDOW
! 5 25 46 25 46
! 10 31 52 31 52
More information about the CIG-COMMITS
mailing list