Phase locking value (PLV) between $x(t)$ and $x(t-T)$
PLV is good for correlating signals that seem out of phase to our measurement techniques due to the digital nature of our recordings but are in sync because of the electro chemical biological nature of the CNS. If you transform two signals into phase you can determine the relatedness of the two signals.

Phase Locking Value NeuroBytes
The schematic below illustrates how PLV is computed in this implementation. Explanation for each step follows.