Multimode (few-mode) coupled GNLSE¶
photonics_helper.multimode_gnlse propagates N simultaneously guided
spatial modes as coupled modal envelopes — the nonlinear complement of
structured.py (details and references there):
- per-mode Taylor dispersion (
betas[fiber_mode]), modal group delay (group_delays, s/m — walk-off in the retarded frame of channel 0), and shared scalar loss; - SPM/XPM coefficient sets: co-polarized scalar spatial modes
(
coef_model="co_polarized"— SPM 1, XPM 2, FWM 1; Mumtaz Eq. 6 scalar limit), the two-polarization degenerate LP pair ("lp_degenerate"— the vector-GNLSE strip-down: SPM 1, XPM 2/3, FWM 2/3), or the isotropic all-ones model ("isotropic").lp_degenerateis not the XPM of two co-polarized spatial modes; passcoef_model="co_polarized"or the mode-analysis overlap weights for a few-mode LP deck; gamma_reference(W⁻¹m⁻¹) overrides the fiber-derived scalar γ for every tensor-normalised term. The mode-analysis deck returnsgamma_reference = γ₀; use it wheneverfwm_weights/raman_tensorscame fromS⁽²⁾/S_0000, otherwise aFiber.A_effdifferent fromA_eff,0mis-scales the tensor arms; the absolutecoupling_tensordiagonal is exactly the per-modeγ_m(C_ii = γ_i), not a½(γ_i+γ_j)average;- opt-in pump-driven inter-modal FWM (
include_fwm=True): each pump channelnexchanges the pair(m, q)through two pump photons — conjugate (Hamiltonian) partners, energy conserving per pair — gated by the angular-momentum ruleℓ_m = 2ℓ_n − ℓ_qwhen OAM indices are supplied (oam_l); - contracts (regression-tested,
tests/test_multimode_gnlse.py): single-channel = scalar engine (machine precision), two-channel LP-degenerate =vector_gnlse.VectorSplitStepEngine(machine precision), mode walk-off =Δβ₁·L, FWM vs an independent dense RK4 to <5%, forbidden FWM triplets unmixed to machine precision.
Scope (v1): fixed-step propagation; Raman is the scalar per-channel
response (include_raman=True + raman_response, N=1 == scalar engine)
with an opt-in intermodal delayed-coupling tensor (raman_tensors,
Wright JSTQE Eq. 1 kernel, step7 S⁽²⁾ admissible as T_R); pump
depletion is implemented (fwm_pump_depletion=True, Manley–Rowe
consistent); self-steepening + time-resolved TPA/FCA are implemented
per-channel (include_shock, include_tpa/include_free_carriers);
full-β(ω) dispersion (full_beta) and the full-S⁽²⁾ FWM contraction
(fwm_full_tensor=True) are implemented. All four GAP steps have landed —
no switched-off-physics disclaimer.