estimate_k_modes {VMDecomp} | R Documentation |
Estimation of Intrinsic Mode Function (IMF) Number in Variational Mode Decomposition
Description
Estimation of Intrinsic Mode Function (IMF) Number in Variational Mode Decomposition
Usage
estimate_k_modes(
signal_1d,
cor_thresh,
default_vmd_params,
min_K = 2,
seed = 1,
verbose = FALSE
)
Arguments
signal_1d |
a numeric vector specifying the 1-dimensional input signal |
cor_thresh |
a numeric value specifying the minimum (positive or negative) correlation coefficient threshold where decomposition will be stopped (a value between 0.0 and 1.0) |
default_vmd_params |
a list of parameters consisting of the (remaining) Variational Mode Decomposition default parameters (except for 'data' and 'K') |
min_K |
a numeric value specifying the minimum value of the K (modes) parameter (from which decomposition starts) |
seed |
a numeric value specifying the seed (for reproducibility purposes) |
verbose |
a boolean. If TRUE then information will be printed in the console |
Details
Correlation Coefficient Method:
Correlation coefficient (CC) between the mode components and the original signal will be obtained. Decomposition will be stopped when the minimum correlation coefficient is less than the given threshold, and then the value of K will be determined
Value
a numeric value specifying the optimal K parameter
References
https://doi.org/10.1155/2020/8304903
Examples
## Not run:
require(VMDecomp)
data(arrhythmia)
default_vmd_params = list(alpha = 2000,
tau = 0,
DC = FALSE,
init = 1,
tol = 1e-6)
res_k = estimate_k_modes(signal_1d = arrhythmia[['MLII']],
cor_thresh = 0.1,
default_vmd_params = default_vmd_params,
min_K = 2,
seed = 1,
verbose = TRUE)
res_k
## End(Not run)