# How to interpret correlation angle from frequency domain

Since the coefficient of one frequency could be seen the length of the signal projects on that frequency basis.

And the length is $$|a|\cos\theta= \frac{a\cdot b}{|b|}$$

If I divide the coefficient by $$|a|$$, how to interpret the correlation cosine angle from frequency domain?

Frequency domain data is complex valued. In $$\mathcal{C^N}$$ $$\mathbf{a^H}\mathbf{b}$$ is a complex number in general, so $$\frac{\mathbf{a^H}\mathbf{b}}{\mid \mathbf{a} \mid \mid \mathbf{b} \mid}$$ Is bound by magnitude of 1, like a cosine but unlike the cosine isn't in general real. \
The spectral coherence has a similar form $$\gamma=\frac{S_{xy}(f)}{\mid S_{xx}(f) \mid \mid S_{yy}(f) \mid}$$ where the quantities are statistical expectations of stationary ergodic processes. The numerator is Complex in general.
If your signal is a single pure tone and your basis is a single pure tone of the same frequency, then the "angle" directly corresponds to the phase angle between them. When they are totally in phase, the angle will be zero. When they are totally out of phase, the angle will be $$\pi$$. If the angle is $$\pi/2$$ then the signal is orthogonal to the basis.