Program: MKLSSINGLETT
mklssinglett......compute traveltime for single focus/station pair
call: tt=mklssinglett(lsopt,phase,f1,f2,f3,s1,s2,s3);
lsopt: (structure)
LOCSMITH options structure as returned by MKLSOPT
phase: (string)
seismic phase for which a travel time is desired
f1,f2,f3: (numbers)
three coordinates describing the position of the
hypocenter. Meaning and dimension of these coordinates
depend on grid type.
With a triangular grid and the TTBOX software as external
travel time calculator, the meaning is as follows:
f1: hypocenter longitude [deg]
f2: hypocenter latitude [deg]
f3: hypocenter depth [km]
s1,s2,s2: (numbers)
threee soordinates describing the position of the
station. Meaning and dimension of these coordinates
depend on grid type.
With a triangular grid and the TTBOX software as external
travel time calculator, the meaning is as follows:
f1: station longitude [deg]
f2: station latitude [deg]
f3: station elevation [km] (ignored!)
result: tt: (numeric) [s]
travel time(s) for the desired phase from point (f1,f2,f3) to
point (s1,s2,s3)
Martin Knapmeyer, 12.04.2005
BUGS: when using TTBOX, the station elevation is currently ignored!
Read M-File Source Code
eof.