Program: MKLSFINDORIGINTIME
mklsfindorigintime.......find origin time compatible with computed TT
call: [compatibility,earliest,latest,testcnt,incompatible]=mklsfindorigintime(lsopt,traveltimes,fxd);
lsopt: (structure)
LOCSMITH options structure as returned by MKLSOPT
traveltimes: (structure)
travel time structure as returned by MKLSEMPTYTRAVELTIMES
containing computed travel times for a single node and all phases
at all stations.
fxd: (structure)
Fast Acess Data structure as returned by MKLSLSD2FXD
result: compatibility: (number) [counter]
max number of compatible data
The node for whicht the TRAVELTIMES were computed
is compatible with no more as this number of
phases.
0 if no compatibility found.
earliestot: (numeric array) [sec]
earliest origin time for which the node is compatible
with the max number of phases.
There might be several fitting time intervals. This
is al list of the beginnings of all of these
intervals.
Empty if no compatibility found.
latestot: (numeric array) [sec]
latest origin time for which the node is compatible
with the max number of phases.
There might be several fitting time intervals. This
is al list of the endings of all of these
intervals.
Empty if no compatibility found.
The i-th possible origin time interval starts at
earliestot(i) and ends at latestot(i).
testcnt: (number) [counter]
counter for the number of tests applied - in case of
full compatibility, COMPATIBILITY equals TESTCNT.
incompatible: (structure array)
In this structure, a list of incompatible data is given
for each time interval. there is only one field:
.names: (string matrix)
a list of station identifier / phase name pairs
in the syntax StationIdentifier:PhaseName.
The corresponding arrival times are NOT
compatible with the corresponding origin time
interval.
incompatible(i).names is the list for the interval
defined by ealiestot(i) and latestot(i).
This routine finds out with how many of the observed arrival times a
certain node is compatible and for which origin times this compatibility
holds.
Martin Knapmeyer, 18.05.2005, 23.05.2005, 25.05.2005, 15.06.2005
Read M-File Source Code
eof.