Given a signal $f(t)$ defined on $t\in(-\infty,\infty),$ what is the precise definition of the power spectrum of $f$, i.e., what is the mathematical operation that takes $f$ to the output of an ideal spectrometer applied to $f$? Wikipedia defines the energy spectral density as $$S(\omega)=|\hat{f...