R: Handle Pick in RSEIS

pickhandler {RSEIS} | R Documentation

## Handle Pick in RSEIS

### Description

Update the WPX (pick data frame) list with a new pick.

### Usage

    pickhandler(i1 = 1, ppick = 0, kzap = "Y", err = NA, res=0, ycol =
    rgb(0, 0, 1), pol=0, flg=0, onoff=1, NPX = 1, WPX = WPX, NH)

### Arguments

`i1` | Index of trace
`ppick` | time for pick in seconds
`kzap` | character label of pick
`err` | error for pick
`res` | residual(or duration)
`ycol` | color for pick
`pol` | polarity of pick
`flg` | flag for pick
`onoff` | turn or off for pick
`NPX` | index of pick in WPX
`WPX` | Pick data frame
`NH` | List of traces

### Value

Returns WPX data frame with new pick added (or replaced).

### Note

If WPX is missing, it is created. If NH is missing (no seismic traces) program returns NULL.

### Author(s)

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

### See Also

swig, YPIX, WPIX, NOPIX, REPIX, PickWin, pADDPIX, Ppic, POLSWITCH, Pup

[Package RSEIS version 3.7-4 Index]