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._ValueComparableDispersion of a metal given by its complex refractive index.
- Parameters:
- wavelengths
Sequence[float],optional Wavelengths of the curve, in nm. By default,
[486.0, 532.0, 643.0].- indices
Sequence[float],optional Real part n of the refractive index at each wavelength. By default,
[1.0, 1.0, 1.0].- extinctions
Sequence[float],optional Extinction coefficient k at each wavelength. By default,
[0.0, 0.0, 0.0].
- wavelengths
- Parameters:
Notes
The default refractive index and extinction values are placeholders, not the optical constants of a real metal.
Overview#
Check the complex index curve is complete. |
Curve wavelengths in nm, returned as a copy. |
|
Real refractive indices, returned as a copy. |
|
Extinction coefficients, returned as a copy. |
Keyword identifying the model in a |
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.
Attribute detail#
Method detail#
- MaterialMetallicCurve.validate()#
Check the complex index curve is complete.
- Raises:
ValueErrorIf columns are empty or their lengths differ.