Usage
EEMD(sig, tt, noise.amp, trials, nimf, trials.dir = NULL, verbose = TRUE, spectral.method = "arctan", diff.lag = 1, tol = 5, max.sift = 200, stop.rule = "type5", boundary = "wave", sm = "none", smlevels = c(1), spar = NULL, max.imf = 100, interm = NULL, noise.type = "gaussian", noise.array = NULL)
Arguments
sig
a time series to be decomposed (vector)
tt
The sample times of sig
noise.amp
Amplitude of white noise to use in denoising algorithm
trials
Number of times to run EMD
nimf
Number of IMFs to record, IMFs past this number will not be saved
trials.dir
Directory where EEMD trial files will be stored, defaults to ``trials.'' This will create a directory if none exists.
verbose
If TRUE, notify when each trial is complete
noise.type
If unspecified or gaussian
, produce a Gaussian noise series with length length(sig)
and standard deviation noise.amp
.
If uniform
, produce a uniform random distribution with length length(sig)
and maximum absolute value of noise.amp
.
If custom
, then use a custom noise array as defined in input parameter noise.array
(see below).
noise.array
If noise.type = "custom"
, this array must be a TRIALS x LENGTH(TT) collection of time series to be used in the place of uniform or gaussian noise.
Each row in the array corresponds to the noise series added for that particular trial during the EEMD run.
By default, noise.array = NULL
.