Current method of computing phase differences gives erroneous
results during phase wraps. This can be seen here (ignore "Amplitude" as y-axis label):
This commit fixes that by using complex conjugate multiplication block to compute signal whose phase is difference of the the phase of two input signals. As this operation is immune to phase wraps it always gives correct result. The result after this change is following:
Current method of computing phase differences gives erroneous results during phase wraps. This can be seen here (ignore "Amplitude" as y-axis label):
This commit fixes that by using complex conjugate multiplication block to compute signal whose phase is difference of the the phase of two input signals. As this operation is immune to phase wraps it always gives correct result. The result after this change is following:
The tests were done with use of this flowgraph:
test_phases.grc.zip