A deterministic recipe
Write the site index in binary, with bits bj. Count every adjacent pair of 1s, including overlaps. The site weight is the parity of that count:
an = (−1)Σ bjbj+1
What the probe measures
F(q) = Σ anwne−iqn
I(q) = |F(q)|² / Σ(anwn)²
Textbook result: the Rudin–Shapiro sequence has vanishing limiting pair correlations at every non-zero integer lag. Its infinite-volume diffraction is therefore flat and diffuse, despite the exact deterministic rule. A periodic chain instead concentrates intensity into sharp Bragg peaks.
Model boundaries
This is a finite one-dimensional binary-weight model. The random reference and sign defects are seeded illustrative samples; the Hann window is an observation-aperture choice. The finite spectrum fluctuates around the limiting result.
Illustrative educational model, not affiliated with any real institution or manufacturer.