WINGH: Window a GH structure and extract data

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

View source: R/WINGH.R

Description

Window a time slice of seismic data and extract from a GH structure.

Usage

1
WINGH(GH, sel = 1, WIN = c(0,1) )

Arguments

GH

RSEIS seismic list

sel

Select which traces to extract

WIN

Time window to extract (seconds from the beginning of the first trace.)

Details

Preserves the data structure of the GH list. The purpose of this function is to extract a small subset of data from a larger data set (or longer time series) for subsequent processing.

Value

New GH structure.

Author(s)

Jonathan M. Lees<[email protected]>

See Also

swig

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
data(GH)

swig(GH, sel=which(GH$COMPS=="V" ))


jh = WINGH(GH, sel = which(GH$COMPS=="V" ), WIN = c(3.821281, 12.861820) )

swig(jh)
## compare with:
swig(GH, sel=which(GH$COMPS=="V" ), WIN = c(3.821281, 12.861820))




## End(Not run)

RSEIS documentation built on Aug. 23, 2018, 1:04 a.m.