Skip to content

0.12.0

Choose a tag to compare

@ehsun-sh ehsun-sh released this 22 Sep 22:48
· 113 commits to main since this release

pip install maiman==0.12.0

Two more items off the Open list. Both are behind flags that start false, so no result from an earlier release moves.

A grating coupler, from its own geometry

Four things that were numbers or were missing.

What its teeth send back. The same corrugation that radiates on its first order couples the forward mode to the backward one on its second — a Bragg grating written in the chip. Set from_teeth and it is solved rather than quoted:

fibre angle period that radiates there reflection
0° 572.0 nm −1.6 dB
5° 591.0 nm −19.4 dB
10° 611.1 nm −21.5 dB
15° 632.3 nm −26.2 dB
  • The angle is the whole defence: a vertical coupler reflects its own Bragg line, and the detuning that keeps a tilted one quiet is the same 2π n sin θ / λ that sets the emission angle.
  • A duty cycle of exactly one half has no second harmonic, and reflects nothing.
  • Checked against this library's own transfer-matrix grating, which shares no algebra with the closed form, to 1e-9.

The height the fibre sits at. fibre_height widens the beam where it lands — 150 µm up costs more than a decibel — curves it, which the overlap integral carries as a phase, and makes the gap an etalon ringing at λ²/(2nh), measured against that to 5 %. The tilt walks each round trip 2h tan θ sideways, so the ripple falls from 0.81 dB at normal incidence to 0.06 dB at 12°.

A bottom mirror. substrate_extinction makes the substrate absorbing — aluminium is 1.44 + 16j — and the share leaving upward rises from 0.59 to 0.99. An index with the other sign is a gain medium under this convention and is now refused rather than quietly flipped.

Apodization. grating_strength_end tapers the radiation along the grating; the emitted profile follows from energy conservation alone:

   uniform, 0.14 /um                 -3.19 dB
   tapered, 0.05 to 0.4 /um          -2.63 dB
   with a mirror as well             -0.48 dB

A laser's junction warms, and its line moves

Most of a laser's drive becomes heat: I(V_j + I R_s) in, and only the light carries any away. Set thermal and the junction warms by R_th times what is left, moving the line by 0.09 nm/K. Two halves, on two time axes:

The bias sets where the line sits.

bias junction wavelength against cold
20 mA 0.90 K 1310.0810 nm −14.1 GHz
35 mA 1.60 K 1310.1437 nm −25.1 GHz
50 mA 2.36 K 1310.2128 nm −37.2 GHz
80 mA 4.20 K 1310.3782 nm −66.1 GHz

That is 4 to 6 pm per milliamp, what a DFB is specified at, and it belongs to the band's own centre frequency: a window of a few hundred nanoseconds cannot hold 25 GHz as a phase ramp.

The pattern moves it, slowly. The junction follows its dissipation through one pole of about a microsecond, so a long mark warms it and the line drifts red — thermal chirp, the low-frequency tail under the carriers' adiabatic chirp, and the reason a line code's run length matters here:

   mark, 30 to 50 mA      junction    line drifts
     100 ns               +0.095 K      -1.34 GHz
     500 ns               +0.394 K      -6.03 GHz
    2000 ns               +0.865 K     -13.45 GHz

The temperature is a third state beside the carriers and the photons, started settled as they are. One test runs it to rest against R_th P_diss — two code paths, one closed form — and another measures the pole's time constant back out of a step, to 5 %.


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

🤖 Generated with Claude Code