Skip to main content

Module sld

Module sld 

Source
Expand description

Composable SLD primitives for deferred-energy uniaxial stacks.

Thin single-point wrappers over crate::optics: density scaling, laboratory-frame rotation, and refnx slab-row packing. Batch OOC interpolation and diagonal packing stay in crate::optics; this module does not reimplement them.

Functionsยง

isotropic_lab_tensor
Isotropic laboratory (3, 3) tensor from scalar index n.
molecular_index
Density-scaled uniaxial molecular indices from tabulated OOC components.
molecular_index_at_ooc
Linear OOC lookup followed by :func:molecular_index at query_ev.
tensor_to_slab_row
Pack [thickness, delta, beta, roughness] from a diagonal laboratory tensor.
uniaxial_lab_tensor
Laboratory (3, 3) tensor for one uniaxial orientation (radians).