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 May 19, 2017, 12:54 p.m.

Search within the Rquake package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.