Utility¶
-
rascal.util.
edlen_refraction
(wavelengths, temperature, pressure, vapour_partial_pressure)[source]¶ Appendix A.IV of https://emtoolbox.nist.gov/Wavelength/Documentation.asp
-
rascal.util.
get_vapour_partial_pressure
(relative_humidity, vapour_pressure)[source]¶ Appendix A.II of https://emtoolbox.nist.gov/Wavelength/Documentation.asp
-
rascal.util.
get_vapour_pressure
(temperature)[source]¶ Appendix A.I of https://emtoolbox.nist.gov/Wavelength/Documentation.asp
-
rascal.util.
vacuum_to_air_wavelength
(wavelengths, temperature=273.15, pressure=101325, relative_humidity=0)[source]¶ The conversion follows the Modified Edlén Equations
https://emtoolbox.nist.gov/Wavelength/Documentation.asp
pressure drops by ~10% per 1000m above sea level temperature depends heavily on the location relative humidity is between 0-100, depends heavily on the location
- wavelengths: float or numpy.array
Wavelengths in vacuum
- temperature: float
In unit of Kelvin
- pressure: float
In unit of Pa
- relative_humidity: float
Unitless in percentage (i.e. 0 - 100)
- air wavelengths: float or numpy.array
The wavelengths in air given the condition