Skip to content

v0.10.0 — an amplifier's own noise empties it, and the glass disperses

Choose a tag to compare

@ehsun-sh ehsun-sh released this 19 Sep 03:55
· 120 commits to main since this release

pip install maiman==0.10.0

This release removes two items from the Open list. Both are opt-in, so no result from an earlier release moves.

An amplifier's own noise empties it

Saleh's equation is the reservoir's energy balance: P_sat ln(G₀/G) is everything the inversion hands out, over every field in the fibre. The amplifier's own spontaneous emission is one of those fields. It has no input, and it leaves by both ends, each carrying NF·G·hν·B — exactly what the block emits into the link. Set EDFA(saturate=True, self_saturation=True) and that load is counted:

ln(G₀/G) = [(G − 1)·P_in + 2·NF·G·hν·B] / P_sat

With no input the gain is W(βG₀)/β in Lambert's W. That is the gain a coil can hold before its own noise empties it. The test solves W by Halley's iteration, which shares nothing with the component's own solver, and the two agree to 1e-12. With the defaults:

small-signal gain in the dark forward ASE cost at −40 dBm in
20 dB 19.98 dB −7.9 dBm 0.02 dB
30 dB 29.81 dB +1.9 dBm 0.19 dB
40 dB 38.59 dB +10.7 dBm 1.38 dB

At 0 dBm input, every one of them is within 0.02 dB of the model without it. The transient integrators carry the same term:

  • an amplifier whose channels are all dropped comes to rest on Lambert's gain, not on G₀;
  • it relaxes at τ/(1 + (P_out + P_ASE)/P_sat), which a test measures to a part in a thousand.

The glass disperses

StepIndexFibre, LongPeriodGrating and TiltedFiberBraggGrating take material_dispersion:

  • the cladding follows Malitson's fused silica;
  • the core is germania-doped silica, interpolated in mole fraction toward Fleming's GeO₂, at the fraction that gives the quoted index step (3.5 mol % for 0.0052).

The quoted indices hold at 1550 nm. Every mode solver, scalar and vector, takes the fibre at the wavelength it is solving.

With nothing fitted, the default fibre becomes a G.652 fibre:

constant indices dispersing glass G.652
D at 1550 nm −4.8 ps/(nm·km) 16.7 ps/(nm·km) ≤ 18
zero dispersion none 1308.3 nm 1300 – 1324 nm

Silica's own dispersion zero comes out at 1272.7 nm.

A long-period grating's notches are set by the difference of two indices that disperse differently, so they move by nanometres: the first moves 4.2 nm shortward and the fourth 1.4 nm longward. Each notch still phase-matches on the dispersive indices to 1e-9. A tilted grating's comb is read against indices that hold at 1550 nm, where the comb is, so it moves by picometres.


64 components, 1737 tests, every physics block checked against a closed-form or independently computed result in CI.

🤖 Generated with Claude Code