Skip to content

Variational Mode Decomposition for Cpp

License

Notifications You must be signed in to change notification settings

Williechan2013/VMD_cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMD_Cpp

Variational Mode Decomposition for Cpp using Eigen.

This is cpp realization for Variatioanl Mode Decomposition

Coding by: Lang He ([email protected])

Refering to the paper: K. Dragomiretskiy, D. Zosso, Variational Mode Decomposition, IEEE Trans. on Signal Processing (in press)

Output:

u - the collection of decomposed modes (2D double Matrix in Eigen -MatrixXd)

u_hat - spectra of the modes (2D complex Matrix in Eigen -MatrixXd)

omega - estimated mode center - frequencies (2D double Matrix in Eigen -MatrixXd)

Input:

signal - the time domain signal(1D vector) to be decomposed

alpha - the balancing parameter of the data - fidelity constraint

tau - time - step of the dual ascent(pick 0 for noise - slack)

K - the number of modes to be recovered

DC - true if the first mode is putand kept at DC(0 - freq)

init - 0 = all omegas start at 0 1 = all omegas start uniformly distributed 2 = all omegas initialized randomly

tol - tolerance of convergence criterion; typically around 1e-6

About

Variational Mode Decomposition for Cpp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.6%
  • Fortran 11.8%
  • CMake 2.9%
  • C 2.1%
  • Cuda 1.2%
  • Shell 0.2%
  • Other 0.2%