MCPcopy Create free account
hub / github.com/antirez/dump1090 / applyPhaseCorrection

Function applyPhaseCorrection

dump1090.c:1498–1558  ·  view source on GitHub ↗

Phase enhancement algorithm. * * This function estimates whether we are sampling early or late relative to * the signal phase, and by how much, by examining the energy distribution * in the preamble. It then corrects each sample based on the decoded bit * value and the estimated phase offset. * * The preamble has known 1-bits at positions 0, 2, 7, 9 and known 0-bits * elsewhere. By looking

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

detectModeSFunction · 0.85

Calls 1

scaleSampleFunction · 0.85

Tested by

no test coverage detected