"""
Demonstrate luminous efficiency functions computations.

This module provides examples of luminous efficiency functions and mesopic
luminous efficiency function calculations.
"""

from pprint import pprint

import colour
from colour.utilities import message_box

message_box("Luminous Efficiency Functions Computations")

message_box("Luminous efficiency functions dataset.")
pprint(sorted(colour.SDS_LEFS))

print("\n")

message_box("Computing the mesopic luminous efficiency function for factor:\n\n\t0.2")
print(colour.sd_mesopic_luminous_efficiency_function(0.2).values)
