File estimation_core.h¶
FileList > doppler > estimation > estimation_core.h
Go to the source code of this file
Estimation module — public C API.
#include "doppler/clib_common.h"
Public Functions¶
| Type | Name |
|---|---|
| double | dp_timing_mcrb (int pulse, double beta, double sps, double esn0_db, double symbols) The modified Cramér-Rao bound on symbol timing: the least variance, in symbols squared, of any unbiased timing estimate. |
Public Functions Documentation¶
function dp_timing_mcrb¶
The modified Cramér-Rao bound on symbol timing: the least variance, in symbols squared, of any unbiased timing estimate.
For symbols iid unit-power symbols of a pulse in white noise at Es/N0 esn0_db, the symbols' cross terms vanish in expectation and with gamma the linear Es/N0, L the symbols and xi the pulse's normalized mean-square bandwidth as the receiver samples it (docs/design/timing-estimator.md, 4.5):
- RC_PULSE_RRC, roll-off
beta:1/12 + beta^2 (1/4 - 2/pi^2), the raised-cosine spectrum's second moment;spsis not read. - RC_PULSE_IANDD, the rectangle averaged over each sample's interval at
spssamples a symbol: only the two samples a symbol edge falls in move with the timing,spseach per symbol, so2 sps / (4 pi^2), against the transmitted symbol's unit energy that Es/N0 is referenced to;betais not read.
A loop of one-sided noise bandwidth B_L T (cycles a symbol) sees the same bound with symbols 1 / (2 B_L T), so symbols is a double.
Parameters:
pulseRC_PULSE_IANDD (0, the rectangle) or RC_PULSE_RRC (1).betaThe RRC's roll-off, from 0 to 1.spsThe rectangle's samples a symbol, > 0.esn0_dbEs/N0 in dB, finite.symbolsThe symbols observed, > 0.
Returns:
The bound in symbols squared, or NaN for a bad argument.
>>> from doppler.estimation import timing_mcrb
>>> round(timing_mcrb(0, 0.0, 4.0, 4.0, 128.0) ** 0.5, 4) # rectangle
0.0139
>>> round(timing_mcrb(1, 0.35, 0.0, 4.0, 128.0) ** 0.5, 4) # RRC 0.35
0.021
The documentation for this class was generated from the following file native/inc/doppler/estimation/estimation_core.h