R: Decimate a set of traces

DECIMATE.SEISN {RSEIS} | R Documentation

## Decimate a set of traces

### Description

Decimate, or reduce the sample rate of a set of traces stored in RSEIS format

### Usage

    DECIMATE.SEISN(TH, sel=1:length(TH$JSTR), dec=5 ,
     type="LP", proto="C1" , fl=2,  fh=10, RM=FALSE, zp=TRUE )

### Arguments

`TH` | RSEIS list
`sel` | numeric, which traces to select
`dec` | numeric, number of samples to skip
`type` | type of filter (see butfilt)
`proto` | filter proto type
`fl` | low pass frequency cut off
`fh` | high pass frequency cut off
`RM` | Remove mean value from trace, default=FALSE
`zp` | zero phase filter, default=TRUE

### Details

Reduces the number of samples by skipping every "dec" sample. A filter is applied prior to decimation.

### Value

an RSEIS list.

### Note

The dt, n and t2 are modified in info.

### Author(s)

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

### See Also

butfilt

[Package RSEIS version 3.7-4 Index]