Description Usage Arguments Details Value See Also Examples
This function decomposes a signal into frequency component and residue of ensemble patch transform by sifting process.
1 2 3 4  | 
tindex | 
 time index at which a signal is observed. When it is   | 
signal | 
 a set of data or a signal observed at time   | 
type | 
 patch type of   | 
tau | 
 a size parameter for ensemble patch transform.  | 
process | 
 specifies transform types for patch and ensemble processes:
  | 
pquantile | 
 quantiles for lower and upper envelopes of patch transform. When it is   | 
equantile | 
 quantiles for lower and upper envelopes of ensemble patch transform.  | 
gamma | 
 controls the amount of envelope magnitude.  | 
boundary | 
 specifies boundary condition from   | 
stoprule | 
 stopping rule of sifting. The   | 
tol | 
 tolerance for stopping rule of sifting.  | 
maxiter | 
 the maximum number of sifting.  | 
check | 
 specifies whether the sifting process is displayed. When   | 
This function decomposes a signal into frequency component and residue of ensemble patch transform by sifting process for a size parameter.
eptcomp | 
 matrix of ept (ensemble patch transform) component at each sifting step.  | 
FC | 
 frequency component of ensemble patch transform by sifting process.  | 
residue | 
 residue of ensemble patch transform by sifting process.  | 
parameters | 
 a list of input parameters of   | 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27  | #### example : composite of two components having different frequencies
ndata <- 1000 
tindex <- seq(0, 1, length=ndata)
comp1 <- cos(90*pi*tindex)
comp2 <- cos(10*pi*tindex)
f <- comp1 + comp2 
op <- par(mfrow=c(3,1), mar=c(2,2,2,1))
plot(tindex, f, main="a signal", xlab="", ylab="", type='l')
abline(h=0, lty=3)
plot(tindex, comp1, main="high-frequency component", xlab="", ylab="", type='l')
abline(h=0, lty=3)
plot(tindex, comp2, main="low-frequency component", xlab="", ylab="", type='l')
abline(h=0, lty=3)
#### Decomposition by Ensemble Patch Transform  
outdecom <- eptdecomp(signal=f, tau=21, process=c("envelope", "average"), pquantile=c(0, 1))
#### Decomposition result
plot(tindex, f, main="a signal", xlab="", ylab="", type='l'); abline(h=0, lty=3)
plot(outdecom$FC, type='l', main="", xlab="", ylab=""); abline(h=0, lty=3)
title(paste0("high-frequency component, tau=", 21))
lines(comp1, col="red", lty=2, lwd=0.5)
plot(outdecom$residue, type="l", main="", xlab="", ylab=""); abline(h=0, lty=3)
title(paste0("low-frequency component, tau=", 21))
lines(comp2, col="red", lty=2, lwd=0.5)
par(op)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.