Learn R Programming

RSEIS (version 4.2-4)

SEARCHPIX: Search Pix

Description

Search through pick strucutre to select phase arrivals

Usage

SEARCHPIX(KPX, IPX, tol = 0.5)

Value

index vector

Arguments

KPX

user locator pix

IPX

set of pix in memory

tol

tolerance, s

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

returns index vector of picks that satisfy: wn = which( abs(t2-t1) < tol)

Examples

Run this code

data(GH, package='RSEIS')
IPX = data.frame( uwpfile2ypx(GH$pickfile ) )
 
#######  take for example on pick
KPX = IPX[6, ]

SEARCHPIX(KPX, IPX, tol = 0.5)

Run the code above in your browser using DataLab