class sdr.ReplicaCorrelator

Implements an clairvoyant replica-correlator detector.

Notes

The replica-correlator detector is a clairvoyant detector that assumes perfect knowledge of the signal s[n]. The complex noise w[n]CN(0,σ2). The null and alternative hypotheses are given by:

H0:x[n]=w[n]
H1:x[n]=s[n]+w[n]

The test statistic T(x) is given by:

T(x)=Re(n=0N1x[n]s[n])>γ
T(x){N(0,σ2E/2)under H0N(E,σ2E/2)under H1

where E is the received energy E=n=0N1|s[n]|2.

The probability of detection PD, probability of false alarm PFA, and detection threshold γ are given by:

PD=Q(Q1(PFA)2Eσ2)
PFA=Q(γσ2E/2)
γ=σ2E/2Q1(PFA)

References

  • Steven Kay, Fundamentals of Statistical Signal Processing: Detection Theory, Sections 4.3.2 and 13.3.1.

Methods

static roc(enr, ...) tuple[NDArray[float_], NDArray[float_]]

Computes the receiver operating characteristic (ROC) curve.

static p_d(enr: ArrayLike, p_fa: ArrayLike, ...) NDArray[float_]

Computes the probability of detection PD.

static p_fa(threshold: ArrayLike, energy, ...) NDArray[float_]

Computes the probability of false alarm PFA.

static threshold(p_fa: ArrayLike, energy, ...) NDArray[float_]

Computes the threshold γ.