refind.n_to_eps

refind.n_to_eps(n)

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

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