Open pfeatherstone opened 2 years ago
Give or take a sign-convention, maybe this is ok since for small phi
, phi ~ sin(phi)
.
Or have I miss-understood something?
Ideally yes but taking the cargf
is a lot slower than taking cimagf
. Taking just the imaginary component is usually sufficient for PLL tracking.
Hmm but if we're aiming for correctness, surely it's best to take the phase right ?
I suspect there's actually very little difference in practice but it would be an interesting experiment to see!
Ok cheers
I've spotted something weird. https://github.com/jgaeddert/liquid-dsp/blob/ee10d0d8a4a03404d00c08a17e5a8550321aa9f1/src/modem/src/modem_common.c#L522
Shouldn't that be: