Program: MKLSGRIDEXTRACTLOCTRI
mklsgridextractloctri........extract best fitting nodes from triangular grid
call: loc=mklsgridextractloctri(lsopt,mygrid,level);
lsopt: (struct)
LOCSMITH options structure as returned by MKLSOPT
mygrid: (struct)
LOCSMITH search grid as returned by MKGRIDNEW
level: (number) [counter]
All nodes are extracted that are compatible with
at least LEVEL data.
If LEVEL is the empty matrix [], LEVEL is set to the
maximum achieved compatibility internally.
result: loc: (structure array)
structure containing the nodes with maximum compatibility
with the evaluated data. The structure contains the
following fields:
.type: (string)
grid type (from mygrid.type)
.maxfit: (number) [counter]
the degree of compatibility of the returned nodes
(i.e. the number of data to which they are
compatible)
.nodelist: (numeric array) [deg deg km]
List of 3D coordinates of nodes.
nodelist(i,1) is the node longitude, in deg
nodelist(i,2) is the node latitude, in deg
nodelist(i,3) is the node radius, in km
.origintime: (structure) [sec]
list containing the origin time intervals for each
node, conatining the following fields:
.id: node ID in the grid structure
.starts: start times of the origin time intervals
.ends: end times of the origin time intervals
the i-th node is a possible hypocenter in the
time intervals given by .origintime(i).starts and
.origintime(i).ends.
Not that ther might be more than one interval for
each node (unlikely, but possible)
.nodecnt: (number) [counter]
The total number of nodes in MYGRID.
Martin Knapmeyer, 31.05.2005, 13.09.2005
Read M-File Source Code
eof.