Skip to main content

Module optics

Module optics 

Source
Expand description

Energy-dependent optical constants and laboratory-frame tensor assembly.

Supports deferred evaluation: tabulated OOC curves are interpolated at query energy, then combined with orientation profiles to form diagonal dielectric tensors used by the uniaxial transfer-matrix kernel.

Functionsยง

interpolate_ooc_linear
Piecewise-linear interpolation on a sorted energy grid.
isotropic_tensor
Isotropic (3, 3) tensor from a scalar laboratory index n.
lab_diagonal_uniaxial
Builds laboratory-frame diagonal (n_o, n_o, n_e) from uniaxial molecular axes.
lab_diagonal_uniaxial_batch
Batch laboratory tensors as length-n vectors of diagonal (n_o, n_o, n_e).
pack_diagonal_tensors
Packs diagonal laboratory indices into (3, 3) tensors with off-diagonals zero.