Learn R Programming

Rquake (version 2.4-4)

XYSETUP: Set up matrix for hypocenter inversion

Description

Set up matrix for hypocenter inversion

Usage

XYSETUP(STAS, init, vel)

Arguments

STAS

station information from pickfile

init

initial event location

vel

list, velocity

Value

matrix

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.

See Also

setPROJ, GLOB.XY,NLSlocate

Examples

Run this code
# 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  )

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab