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 indexn. - 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-
nvectors of diagonal(n_o, n_o, n_e). - pack_
diagonal_ tensors - Packs diagonal laboratory indices into
(3, 3)tensors with off-diagonals zero.