The problem of computing pairwise correlation as a function of frequency can be solved by two mathematically equivalent but distinct ways.
Cross-correlation spectroscopy with spatial interferometry, is possible by simply substituting a signal with voltage V_Y(t) in equation to produce the cross-correlation R_{\text{XY}}(\tau) and the cross-spectrum S_{\text{XY}}(f).