20 #ifndef ANTKEEPER_PHYSICS_LIGHT_LUMINOSITY_HPP
21 #define ANTKEEPER_PHYSICS_LIGHT_LUMINOSITY_HPP
29 namespace luminosity {
42 const T t0 = (lambda - T(568.8)) * ((lambda < T(568.8)) ? T(0.0213) : T(0.0247));
43 const T t1 = (lambda - T(530.9)) * ((lambda < T(530.9)) ? T(0.0613) : T(0.0322));
45 const T y0 = T(0.821) * std::exp(T(-0.5) * t0 * t0);
46 const T y1 = T(0.286) * std::exp(T(-0.5) * t1 * t1);
T photopic(T lambda)
Fitted Gaussian approximation to the CIE 1931 standard observer photopic luminosity function.