pwspy.utility.reflection.multilayerReflectanceEngine.NonPolarizedStack¶
- class pwspy.utility.reflection.multilayerReflectanceEngine.NonPolarizedStack(wavelengths, elements=None)[source]¶
Bases:
pwspy.utility.reflection.multilayerReflectanceEngine.StackBase
Represents a stack of 1d homogenous films. Reflectance can only be calculated at 0 incidence angle in which case polarization is irrelevant. This class does not do anything that can’t be done with Stack. Indices of refraction must be real (no absorption).
- Parameters
wavelengths (
Union
[Number
,ndarray
]) – The wavelengths that calculation should operate over.elements (
Optional
[List
[Layer
]]) – The initial layers to add to the stack.
- calculateReflectance()[source]¶
Calculate the reflectance for this Stack.
- Return type
ndarray
- Returns
The reflectance.
- static interfaceMatrix(n1, n2)[source]¶
Generate a matrix representing the interface between two dielectrics with indices n1 on the left and n2 on the right. Actually the order of terms does not appear to matter. This does not account for polarization or incidence angles other than 0 degrees.
- Parameters
n1 (
Series
) – The refractive indices on one side of the reflective interfacen2 (
Series
) – The refractive indices on the other side of the reflective interface
- Return type
ndarray
- Returns
A transfer matrix for the reflective interface
- static propagationMatrix(n, d)[source]¶
Returns a matrix representing the propagation of light. n should be a pandas Series where the values are complex refractive index and the index fo the Series is the associated wavelengths. with wavelength. for a distance of d. d and the wavelengths must use the same units.
- Parameters
n (
Series
) – The refractive indices of the materiald (
float
) – The distance of propagation.
- Return type
ndarray
- Returns
A transfer matrix for propagation through a material.