Gfirstguess {Rquake} | R Documentation |
First guess from a pick file
Description
Extract the lat lon from the pick file.
Usage
Gfirstguess(Ldat, type = "first")
Arguments
Ldat |
Matrix of data information |
type |
one of "first", "mean", or "median" |
Details
Either the earliest arrival or the average station is returned. Used internally in the earthquake location program to provide a first guess.
Value
vector, lat, lon, z and tee
Author(s)
Jonathan M. Lees<jonathan.lees@unc.edu>
See Also
Klocate
Examples
data(GH, package='RSEIS')
WW = RSEIS::uwpfile2ypx(GH$pickfile)
twpx = latlonz2wpx(WW, GH$pickfile$STAS )
g1 = Gfirstguess(twpx, type = "first")
[Package Rquake version 2.5-1 Index]