Skip to content

Limit resolution peak search to five bins - #117

Merged
ameoli merged 1 commit into
mainfrom
fix-resolution-peak-search
Nov 6, 2026
Merged

ameoli merged 1 commit into
mainfrom
fix-resolution-peak-search

Conversation

@ameoli

@ameoli ameoli commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Measuring the reflector at 10 cm could select a stronger reflector at 13 cm and report its width instead. The search used at least 50 bins on each side and grew with the reflectogram length. It now uses the documented ±5-bin window around the requested position.

Regression tests cover stronger neighbors on either side, short and long reflectograms, and peaks at both search boundaries. All 56 tests for spatial metrics, dispersion, sweep nonlinearity and auxiliary MZI passed locally.

@ameoli
ameoli merged commit b8bdb5d into main Nov 6, 2026
6 checks passed
@ameoli
ameoli deleted the fix-resolution-peak-search branch November 6, 2026 21:32
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