Antkeeper  0.0.1
Functions
physics::light::ior Namespace Reference

Index of refraction formulas. More...

Functions

template<class T >
cauchy (T lambda, T a, T b)
 Two-term form of Cauchy's transmission equation. More...
 
template<class T >
cauchy (T lambda, T a, T b, T c)
 Three-term form of Cauchy's transmission equation. More...
 
template<class T >
sellmeier (T lambda, T b1, T c1, T b2, T c2)
 Two-term form of the Sellmeier equation. More...
 
template<class T >
sellmeier (T lambda, T b1, T c1, T b2, T c2, T b3, T c3)
 Three-term form of the Sellmeier equation. More...
 

Detailed Description

Index of refraction formulas.

Function Documentation

◆ cauchy() [1/2]

template<class T >
T physics::light::ior::cauchy ( lambda,
a,
b 
)

Two-term form of Cauchy's transmission equation.

Parameters
lambdaWavelength of light, in micrometers.
aFirst coefficient of the medium.
bSecond coefficient of the medium.
Returns
Refractive index.
See also
https://en.wikipedia.org/wiki/Cauchy%27s_equation

Definition at line 40 of file refraction.hpp.

◆ cauchy() [2/2]

template<class T >
T physics::light::ior::cauchy ( lambda,
a,
b,
c 
)

Three-term form of Cauchy's transmission equation.

Parameters
lambdaWavelength of light, in micrometers.
aFirst coefficient.
bSecond coefficient.
cThird coefficient.
Returns
Refractive index.
See also
https://en.wikipedia.org/wiki/Cauchy%27s_equation

Definition at line 57 of file refraction.hpp.

◆ sellmeier() [1/2]

template<class T >
T physics::light::ior::sellmeier ( lambda,
b1,
c1,
b2,
c2 
)

Two-term form of the Sellmeier equation.

Parameters
lambdaWavelength of light, in micrometers.
b1B1 coefficient.
c1C1 coefficient.
b2B2 coefficient.
c2C2 coefficient.
Returns
Refractive index.
See also
https://en.wikipedia.org/wiki/Sellmeier_equation

Definition at line 76 of file refraction.hpp.

◆ sellmeier() [2/2]

template<class T >
T physics::light::ior::sellmeier ( lambda,
b1,
c1,
b2,
c2,
b3,
c3 
)

Three-term form of the Sellmeier equation.

Parameters
lambdaWavelength of light, in micrometers.
b1B1 coefficient.
c1C1 coefficient.
b2B2 coefficient.
c2C2 coefficient.
b3B3 coefficient.
c3C3 coefficient.
Returns
Refractive index.
See also
https://en.wikipedia.org/wiki/Sellmeier_equation

Definition at line 101 of file refraction.hpp.