Spectral Analysis for Physical Applications: Foundations for Stochastic Spectral Analysis