Expand description
S-matrices of planar multilayer stacks: one S-matrix of 2-by-2 blocks per
transverse wavevector, built from interface() and
add, with analytic pullbacks.
Upstream: treams.SMatrices.stack of interfaces and propagations.
Modulesยง
- saved ๐
- Fixed invocation-state layout of independent planar channels.
Structsยง
- Channel ๐
- The stack of one transverse wavevector: the lowest interface, then one step per interior layer.
- Layer
Stack Gradient - Multilayer parameter cotangents under the real Hermitian pairing.
- Layer
Stack Residual - What
layer_stacksaves for its pullback: the solves of every transverse wavevector, each on its own, without a dense matrix over all of them. - Step ๐
- One interior layer: propagation across it, then the interface above it.
Functionsยง
- layer_
stack - Stack layers independently for each transverse wavevector; the output is one S-matrix of four 2-by-2 blocks per wavevector.
- propagate ๐
- Place the propagation
P = diag(phase)across a layer above the stackbelow. - propagate_
pullback ๐ - Pull the cotangent
gofpropagateback to the stack below and the phases.