solprop.backends.numpy_ref#
The NumPy reference backend: the oracle.
Plain NumPy and scipy.fft through solprop.fourier, one named function per
pass, no fusion, no in-place tricks and no compiled code. It exists to be read and to be
right: every other backend is validated against the numbers it produces
(docs/dev/backends.md section 2). It propagates a mode-averaged or multimode problem
on either grid with the Kerr, Raman and plasma terms, using interaction-picture DOPRI5
with the cumulative operator, the lagged PI controller, landing on save planes and hard
kinks, the shot-noise field and the hard band mask.
solprop.backends.numpy_ref.passes holds the passes;
solprop.backends.numpy_ref.backend holds the step loop and the seam;
construct is the registry’s constructor (solprop.backends.registry).
Modules
The reference backend: its lowering, its marches and the refusals (SEP 52). |
|
The reference's dense output: a plane interpolated inside the step that crossed it. |
|
The reference's Runge-Kutta engine over its workspace (SEP 52 section 5.2). |
|
Evaluate compiled envelope plasma as separate current-source streams. |
|
The general modal guide's nonlinear source, on the reference backend. |
|
The reference's interaction-picture Adams march (SEP 13, SEP 14). |
|
The passes of one interaction-picture stage, one function each. |
|
The reference's scan of the field synthesised on the axis (SEP 19). |
|
The reference's workspace: its state and every state-sized operation (SEP 52). |