Repository navigation
0.13.0
pip install maiman==0.13.0
The last two items on the Open list, and one of them had been there since the list was written.
Mode partition noise, made by the link
It used to be computed at the laser, by dispersed_power, and the reason was written down as the
open item: every band here is an envelope in its own retarded frame, so the constant group delay a
span gives it has been divided out, and a detector summing several bands adds them as though they
had all arrived at once — and reports the laser's quiet total, which is the one thing that is not
true a span later.
So the delay is carried rather than applied. WalkoffHistory rides on the signal beside the
dispersion and Kerr histories, one number per carrier; a span with carry_walkoff adds each band's
D L dlambda to it; and the detector spends it once, delaying each band's power before the sum.
FabryPerotLaser is the source that needs it — seven longitudinal modes on one reservoir, each a
band, from the multimode rate equations that were already here.
7 modes, 1.1 nm apart, 17 ps/nm/km, a 12.8 ns window
span modes arrive over received noise (relative variance)
0 km 0 ps 1.58e-2 the partition cancelled in the sum
5 km 561 ps 1.29e-2 still largely correlated
20 km 2244 ps 3.33e-2
50 km 5610 ps 6.47e-2 against a ceiling of 8.58e-2
The ceiling is the sum of the modes' own variances — what a receiver sees once nothing cancels at
all — and it is approached from below. The dip at five kilometres is not a glitch: a delay shorter
than the fluctuations' own correlation time leaves them partly aligned.
Held against dispersed_power, which does the whole thing at the laser and shares no code with
this, to a thousandth of the mean. carry_walkoff starts false, so a link that does not ask sees
exactly what it saw before.
The W-Port framing around OFEC, TP0 to TP7
maiman.ofec ended where the code ends and said so. maiman.wport is everything either side of
it — clause 8 before, clauses 11 and 12 after — written with the same document open and held to the
same standard, which is the specification's own test vectors. The compliance point is TP7 from TP0
and every point between is an implementation choice; this reproduces all of them, for DP-QPSK and
DP-16QAM alike.
TP0 58 x 10,280 bits of FlexO-4(e) 116 rows for FlexO-8(e)
a CRC32 every four rows, then a CRC32 and zero pad
TP1 596,736 bits 1,193,472
scrambled, x^16 + x^12 + x^3 + x + 1, reset to 0xFFFF each block
TP2 the codec payload maiman.ofec takes it from here
TP6 688,128 line bits 1,376,256
four bits to a DP-QPSK symbol, eight to a DP-16QAM one
FAW, training, reserved and pilots inserted
TP7 175,104 symbols in each polarization
A DSP frame is 24 subframes of 7,296 symbols, and its budget closes exactly: 2,736 pilots, 240
training symbols that are not pilots, 22 + 74 of alignment and reserve, and 172,032 payload — which
is precisely what the symbol mapper made.
Two readings the text leaves open, which only one answer to reproduces the vectors. The reserved
symbols straddle the pilot at slot 64 rather than displacing it, because the overhead goes in
first and the pilot grid second. And the pilot PRBS10's seeds appear at its output least significant
bit first, which makes its recurrence the stated polynomial's reciprocal — the same register read
from the other end, and the only reading that gives Table 15.
The CRC32 has one more hold on it than the vectors: 0xFC891918, the check value catalogued for
CRC-32/BZIP2, which is what this clause's procedure is over a byte string's bits.
Not covered, and said so: the DPO path, FlexO-6(e)/8(e) with probabilistic constellation shaping,
whose shaping lookup table the published vectors do not exercise. Writing one from memory is the
thing maiman.ofec was careful not to do — and it is now the only thing left on the Open list.
65 components, 1872 tests, every physics block checked against a closed-form or independently
computed result in CI.
🤖 Generated with Claude Code