real_refractive_indices

Function real_refractive_indices 

Source
pub fn real_refractive_indices(epsilon: f64, mu: f64, kappa: f64) -> [f64; 2]
Expand description

Negative- and positive-helicity refractive indices sqrt(epsilon mu) -+ kappa of a real material.

A negative product epsilon mu gives NaN, as numpy.sqrt of a negative float does. Complex materials use Material::indices.

Upstream: treams.misc.refractive_index with real arguments.