finesse.components.surface.Surface.set_RTL¶
- Surface.set_RTL(R=None, T=None, L=None)[source]¶
Set the values for the R, T and L properties of the surface.
One of the following combination must be specified:
R and T or,
R and L or,
T and L or,
R and T and L
In the first three cases, the remaining parameter is set via the condition,
\[R + T + L = 1 \]- Parameters:
- Rscalar
Value of the reflectivity to set.
- Tscalar
Value of the transmissivity to set.
- Lscalar
Value of the loss to set.
- Raises:
- ValueError
If a combination other than one of the above is specified.
Or if R, T and L are all given but they sum to anything other than one.