refind.eps_to_n

refind.eps_to_n(eps)

Convert (complex) permittivity to (complex) refractive index.

Parameters:eps (array) – Permittivity to be converted to refractive index.
Returns:Refractive index (same shape as eps).