Skip to main content

Crate refloxide_optics

Crate refloxide_optics 

Source
Expand description

Optical constants and laboratory-frame tensors for uniaxial stacks.

optics interpolates tabulated optical constants and assembles diagonal uniaxial tensors; sld wraps single-point density scaling, tensor construction, and slab-row packing. Tensor entries carry delta + i beta per principal axis, the convention the transfer-matrix kernels expect.

It does not solve reflectivity, validate stacks, or depend on Python or the GPU.

Re-exports§

pub use peaks::peak_sum_molecular;
pub use peaks::LineKind;
pub use peaks::PeakSpec;
pub use sld::isotropic_lab_tensor;
pub use sld::molecular_index;
pub use sld::molecular_index_at_ooc;
pub use sld::tensor_to_slab_row;
pub use sld::uniaxial_lab_tensor;

Modules§

optics
Energy-dependent optical constants and laboratory-frame tensor assembly.
peaks
Peak-sum molecular optical response from lineshapes line profiles.
sld
Composable SLD primitives for deferred-energy uniaxial stacks.