pwspy.utility.reflection.reflectanceHelper.getRefractiveIndex¶
- pwspy.utility.reflection.reflectanceHelper.getRefractiveIndex(mat, wavelengths=None)[source]¶
Get the spectrally dependent refractive index of a material.
- Parameters
mat (
Material
) – The material the retrieve the refractive index of.wavelengths (
Optional
[Iterable
[float
]]) – The wavelengths that the refractive index should be calculated at. If left as None then the wavelengths used will be determined by the original file that the data was pulled from.
- Return type
Series
- Returns
The refractive index. The index of the pandas series is the wavelengths.