Skip to content

Bistatic 3/5: target detection and detection probability - #3

Merged
cryptopatrick merged 1 commit into
bistatic-resolutionfrom
bistatic-detection
Nov 25, 2026
Merged

cryptopatrick merged 1 commit into
bistatic-resolutionfrom
bistatic-detection

Conversation

@cryptopatrick

Copy link
Copy Markdown
Owner

Stacked on #2. Third of five PRs adding passive (bistatic) radar from Gomez-del-Hoyo et al., IRS 2022. It merges the "detection probability" and "target detection" areas.

What this adds

  • DetectionThreshold:
    • MeanSnr { snr_db }: the paper's link-budget rule, detected exactly when the mean SNR after integration reaches the threshold. DetectionThreshold::PAPER is 16.5 dB.
    • FalseAlarm { pfa }: a square-law detector at a given false-alarm probability. It detects with probability analytic_pd for the target's Swerling case (0, 1 or 3).
    • probability, required_snr_db(pd, swerling) and validate.
  • PassiveReceiver::detect: applies a threshold to a target's RadarSignature and BistaticGeometry, and returns its SNR, Pd and decision. MeanSnr never draws a random number; FalseAlarm draws one.
  • required_snr_db(pd, pfa, swerling), split out of Calibration::reference_for_pd. The bisection is the same, so results are identical, and the pinned golden-stream test still passes.

Checks

  • With the paper's receiver and losses, a 40 m² truck is detected at 17 km and missed at 19 km, matching the paper's ~18 km.
  • With the FalseAlarm threshold, the detection rate over 20,000 draws matches Pd = 0.7 to within 5σ.
  • More SNR is needed for Pd = 0.9 as the target fluctuates more: Swerling 0 < 3 < 1.
  • The Swerling 1 inverse matches its closed form, ln(pfa)/ln(pd) − 1.

Testing

fmt, clippy, docs, tests with all/no/default features, MSRV 1.86, bench build and package dry run all pass locally.

…eshold

DetectionThreshold::MeanSnr is the paper's link-budget convention (detected
when the mean integrated SNR reaches the threshold; PAPER is 16.5 dB).
DetectionThreshold::FalseAlarm is a square-law detector at a given Pfa,
detecting with probability analytic_pd for the target's Swerling case.
PassiveReceiver::detect applies either to a target signature and geometry.

required_snr_db (the SNR that reaches a Pd at a Pfa) is split out of
Calibration::reference_for_pd, which now calls it with unchanged results.
@cryptopatrick
cryptopatrick merged commit 89f03df into bistatic-resolution Nov 25, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant