treams.misc.refractive_index¶
- treams.misc.refractive_index(epsilon=1, mu=1, kappa=0)¶
Refractive index of a (chiral) medium.
The refractive indeces in a chiral medium \(\sqrt{\epsilon\mu} \mp \kappa\) are returned with the negative helicity result first.
- Parameters:
epsilon (float or complex, array_like, optional) – Relative permittivity, defaults to 1.
mu (float or complex, array_like, optional) – Relative permeability, defaults to 1.
kappa (float or complex, array_like, optional) – Chirality parameter, defaults to 0.
- Returns:
float or complex, (2,)-array