I know by theory that the energy spectrum of a given signal is the sum of the squared fourier coefficient.
What if I have the real and imaginary part of the corresponding fourier coefficient, can I say that energy spectrum of a given signal is equal to sum of (real part + imaginary part)^2