MaterialMetallicCurve#

class ansys.speos.core.input_files.material.MaterialMetallicCurve(wavelengths=_DEFAULT_WAVELENGTHS, indices=_DEFAULT_METALLIC_INDICES, extinctions=_DEFAULT_METALLIC_EXTINCTIONS)#

Bases: ansys.speos.core.input_files._base._ValueComparable

Dispersion of a metal given by its complex refractive index.

Parameters:
wavelengthsSequence[float], optional

Wavelengths of the curve, in nm. By default, [486.0, 532.0, 643.0].

indicesSequence[float], optional

Real part n of the refractive index at each wavelength. By default, [1.0, 1.0, 1.0].

extinctionsSequence[float], optional

Extinction coefficient k at each wavelength. By default, [0.0, 0.0, 0.0].

Parameters:
  • wavelengths (Sequence[float])

  • indices (Sequence[float])

  • extinctions (Sequence[float])

Notes

The default refractive index and extinction values are placeholders, not the optical constants of a real metal.

Overview#

validate

Check the complex index curve is complete.

wavelengths

Curve wavelengths in nm, returned as a copy.

indices

Real refractive indices, returned as a copy.

extinctions

Extinction coefficients, returned as a copy.

KEYWORD

Keyword identifying the model in a *.material file.

Import detail#

from ansys.speos.core.input_files.material import MaterialMetallicCurve

Property detail#

property MaterialMetallicCurve.wavelengths: List[float]#

Curve wavelengths in nm, returned as a copy.

Parameters:
valuesSequence[float]

New wavelengths of the curve, in nm.

Returns:
List[float]

Finite wavelengths.

property MaterialMetallicCurve.indices: List[float]#

Real refractive indices, returned as a copy.

Parameters:
valuesSequence[float]

New real part n of the refractive index at each wavelength.

Returns:
List[float]

Finite indices.

property MaterialMetallicCurve.extinctions: List[float]#

Extinction coefficients, returned as a copy.

Parameters:
valuesSequence[float]

New extinction coefficient k at each wavelength.

Returns:
List[float]

Finite extinction coefficients.

Attribute detail#

MaterialMetallicCurve.KEYWORD: ClassVar[str] = 'Dispersion_Curve'#

Keyword identifying the model in a *.material file.

Method detail#

MaterialMetallicCurve.validate()#

Check the complex index curve is complete.

Raises:
ValueError

If columns are empty or their lengths differ.