CoatedSurfaceSample#
- class ansys.speos.core.input_files.coated_surface.CoatedSurfaceSample(reflection_p=100.0, transmission_p=0.0, reflection_s=100.0, transmission_s=0.0)#
Bases:
ansys.speos.core.input_files._base._ValueComparableCoating response at one angle of incidence and one wavelength.
Called without arguments, the constructor creates a perfect reflector.
- Parameters:
- reflection_p
float,optional Reflected part of the P polarization, in percent. By default,
100.0.- transmission_p
float,optional Transmitted part of the P polarization, in percent. By default,
0.0.- reflection_s
float,optional Reflected part of the S polarization, in percent. By default,
100.0.- transmission_s
float,optional Transmitted part of the S polarization, in percent. By default,
0.0.
- reflection_p
- Parameters:
Overview#
Check the coating response of the sample. |
Reflected P polarization, in percent. |
|
Transmitted P polarization, in percent. |
|
Reflected S polarization, in percent. |
|
Transmitted S polarization, in percent. |
|
Absorbed part of the P polarization, in percent. |
|
Absorbed part of the S polarization, in percent. |
Import detail#
from ansys.speos.core.input_files.coated_surface import CoatedSurfaceSample
Property detail#
Method detail#
- CoatedSurfaceSample.validate()#
Check the coating response of the sample.
- Raises:
ValueErrorIf a value is outside the 0 to 100 range.
- Warns:
UserWarningIf computed absorption is negative, excluding rounding noise within 1e-9 percent.
Notes
A negative
CoatedSurfaceSample.absorption_porCoatedSurfaceSample.absorption_sis not rejected: the coating samples published by Ansys do overrun 100 percent on a polarization, and the Coated Surface Editor only flags it.