Skip to content

Require two samples for colored laser noise - #119

Merged
ameoli merged 1 commit into
mainfrom
fix-single-sample-colored-noise
Nov 7, 2026
Merged

ameoli merged 1 commit into
mainfrom
fix-single-sample-colored-noise

Conversation

@ameoli

@ameoli ameoli commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Enabling flicker or random-walk laser noise with a single sample passed validation but crashed inside the FFT noise generator. Both validate and run now reject this configuration with a clear message asking for at least two samples. The frequency_noise helper also checks direct calls before invoking the vendored generator. White FM alone still supports one sample.

Updated the configuration reference and theory guide. Regression tests cover both colored components, their combination, the one-to-two-sample boundary including fractional counts, CLI validation and execution, and single-sample white FM. All 137 selected phase-noise, CLI, Nyquist and campaign tests passed locally.

@ameoli
ameoli merged commit 81adc32 into main Nov 7, 2026
6 checks passed
@ameoli
ameoli deleted the fix-single-sample-colored-noise branch November 7, 2026 10:10
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