XYSETUP: Set up matrix for hypocenter inversion

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/XYSETUP.R

Description

Set up matrix for hypocenter inversion

Usage

1
XYSETUP(STAS, init, vel)

Arguments

STAS

station information from pickfile

init

initial event location

vel

list, velocity

Details

This sets up the matrix used for nonlinear inversion. The code does not include information on the weighting. Station corrections are included.

The STAS are an internal component of the pickfile.

Value

matrix

Note

Need scheme for weighting according to errors in picks and distance weighting.

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

setPROJ, GLOB.XY,NLSlocate

Examples

1
2
3
4
5
6
## Not run: 
##  start with the location of the closest station
XY = XYSETUP(STAS, c(STAS$lat[w1],STAS$lon[w1], initz,  STAS$sec[w1]-t0a  ) , vel  )


## End(Not run)

Rquake documentation built on Dec. 16, 2020, 5:06 p.m.