Discrete Spectrum Correction Source Code for Single Frequency Component (Energy Center of Gravity Correction Method)
Source code for discrete spectrum correction of single-frequency harmonic signals using energy center of gravity correction method. Supports rectangular window and Hanning window selection. The code has been thoroughly tested and verified.