Skip to content

Default the standalone Doppler span to +/-1000 Hz, matching the fleet - #82

Merged
Purple10101 merged 1 commit into
mainfrom
20261012-doppler-span-1000
Oct 12, 2026
Merged

Purple10101 merged 1 commit into
mainfrom
20261012-doppler-span-1000

Conversation

@Purple10101

Copy link
Copy Markdown

This makes blah2's standalone default match the fleet's Doppler span, +-1000 Hz, set in offworldlabs/retina-node#49. It changes nothing on deployed nodes, which build their config from retina-node's default.yml. config/config.yml only affects standalone and development runs, so a local run now sees the same geometry as a node.

Changes

  • config/config.yml: dopplerMin/dopplerMax change from -300/300 to -1000/1000.

  • TestAmbiguity.cpp: new Constructor_Round_Shipped case at the shipped geometry, which checks:

    • 1001 Doppler bins;
    • nCorr 999;
    • the 411-bin delay window fits inside nCorr;
    • nfft 1997 rounds to 2000 (2^4 * 5^3, so no badly factored FFT length).

    The existing +-300 cases are unchanged.

  • CfarDetector1D.cpp: corrects a comment that quoted the +-300 map (123,711 cells) as the shipped geometry.

Verification

  • TestAmbiguity was built and run on x86 (gcc, FFTW 3): 4 passed. The existing file-replay case skipped because its capture file is missing.
  • Changing the expected bin count to 1000 fails the new case.

Docs

None changed. README and CLAUDE.md don't state the span.

🤖 Generated with Claude Code

…g the fleet

retina-node now runs every node at +/-1000 Hz (offworldlabs/retina-node#49).
config/config.yml is only the standalone and development default, so it
moves to match and a local run sees the same geometry as a node.

Adds Constructor_Round_Shipped to TestAmbiguity at that geometry: 1001
Doppler bins, nCorr 999, nfft 1997 rounded to 2000 (2^4 * 5^3, so no
badly factored FFT length), and the 411-bin delay window inside nCorr.
The existing +/-300 cases stay as they are. Corrects the CFAR comment that
quoted the +/-300 map as the shipped geometry.

Verification: TestAmbiguity built and run on x86 (gcc, FFTW 3), 4 passed
and the existing file-replay case skipped for want of its capture file.
Changing the expected bin count to 1000 fails the new case.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Purple10101
Purple10101 merged commit 1790cef into main Oct 12, 2026
@Purple10101
Purple10101 deleted the 20261012-doppler-span-1000 branch October 12, 2026 12:22
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