Repository navigation
Bistatic 3/5: target detection and detection probability - #3
Merged
Merged
Conversation
…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
force-pushed
the
bistatic-resolution
branch
from
November 21, 2026 15:21
5abb08b to
27d6801
Compare
cryptopatrick
force-pushed
the
bistatic-detection
branch
from
November 21, 2026 15:22
37023d3 to
5ba41ca
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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::PAPERis 16.5 dB.FalseAlarm { pfa }: a square-law detector at a given false-alarm probability. It detects with probabilityanalytic_pdfor the target's Swerling case (0, 1 or 3).probability,required_snr_db(pd, swerling)andvalidate.PassiveReceiver::detect: applies a threshold to a target'sRadarSignatureandBistaticGeometry, and returns its SNR, Pd and decision.MeanSnrnever draws a random number;FalseAlarmdraws one.required_snr_db(pd, pfa, swerling), split out ofCalibration::reference_for_pd. The bisection is the same, so results are identical, and the pinned golden-stream test still passes.Checks
FalseAlarmthreshold, the detection rate over 20,000 draws matches Pd = 0.7 to within 5σ.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.