STLTcurve | R Documentation |
Get short-term average long-term verage ratio curve for picking
STLTcurve(y, dt = 0.008, fwlen = 125, bwlen = 125,
stretch = 1000, MED = 255, PLOT = FALSE)
y |
signal |
dt |
sample rate |
fwlen |
forward window, number of samples |
bwlen |
back window length, number of samples |
stretch |
stretch multiplier |
MED |
median smoother |
PLOT |
logical, TRUE=plot diagnostics |
Uses C-code and fast tanking algorithm written at UW
sample to significant change in ratio curve
Jonathan M. Lees<jonathan.lees.edu>
PSTLTcurve
data(CE1)
y = CE1$y
DT = CE1$dt
sy = STLTcurve(y, dt=DT, fwlen = 25, bwlen = 25,
stretch=1000, MED=255, PLOT=FALSE)
par(mfrow=c(2,1))
plot(CE1$x, CE1$y, type='l')
plot(CE1$x,sy$rat, type='l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.