pyOptiShared.Material.ConstMaterial
- class pyOptiShared.Material.ConstMaterial(mat_name: str, epsReal: float = 1, epsImag: float = 0, color: str = None)
Bases:
Material
Creates a material object with constant permittivity
- Parameters:
Methods
eps
(wavelength)This method returns the permittivity at particular wavelengths.
eps_imag
(wavelength)Returns the real part of the permmittivity values.
eps_real
(wavelength)Returns the real part of the permmittivity values.
index
(wavelength)This method returns the refractive index at particular wavelengths.
index_imag
(wavelength)Return the imaginary part of the index of refraction at a given wavelengths.
index_real
(wavelength)Return the real part of the index of refraction at a given wavelengths.
Attributes
color
The color of the material for eventual visualization purposes.
name
Material name.