Learn R Programming

astrochron (version 1.4)

cosTaper: Apply cosine taper to stratigraphic series

Description

Apply a "percent-tapered" cosine taper (a.k.a. Tukey window) to a stratigraphic series.

Usage

cosTaper(dat,p=.25,rms=T,demean=T,detrend=F,genplot=T,verbose=T)

Arguments

dat

Stratigraphic series for tapering. First column should be location (e.g., depth), second column should be data value. If no data is identified, will output a 256 point taper to evaluate the spectral properties of the window.

p

Cosine-tapered window parameter: p is the percent of the data series tapered (choose 0-1). When p=1, this is equivalent to a Hann taper.

rms

Normalize taper to RMS=1 to preserve power for white process? (T or F)

demean

Remove mean from data series? (T or F)

detrend

Remove linear trend from data series? (T or F)

genplot

Generate summary plots? (T or F)

verbose

Verbose output? (T or F)

See Also

dpssTaper, gausTaper, and hannTaper