treams.Material.from_n

classmethod Material.from_n(n=1, impedance=None, kappa=0)

Create material from refractive index and relative impedance.

This function calculates the relative permeability and permittivity with \(\epsilon = \frac{n}{Z}\) and \(\mu = nZ\). The chirality parameter is considered separately.

Note

The refractive index is defined independently from the chirality parameter here. For an alternative definition of the refractive index, see also Material.from_nmp().

Parameters:
  • n (complex, optional) – Refractive index. Defaults to 1.

  • impedance (complex, optional) – Relative impedance. Defaults to the inverse of the refractive index.

  • kappa (complex, optional) – Chirality parameter. Defaults to 0.

Returns:

Material