class documentation

class ColourTests(unittest.TestCase):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method test_d65_cie2 Test illumination D65 against 1931 CMFs 2 deg
Method test_kelvin_5000_to_Yxy Test approximation of plankian radiators without adaptation or refractive index Error +- .001
Method test_sRGB_to_XYZ_backforth Undocumented
Method test_XYZ_to_sRGB_image Test conversion between a list of XYZs and Yxy
Method test_XYZ_to_sRGB_list Test conversion between a list of XYZs and Yxy
Method test_XYZ_to_Yxy_image Test conversion between an image of XYZs and Yxy
Method test_XYZ_to_Yxy_list Test conversion between a list of XYZs and Yxy
Method test_Yxy_to_XYZ_image Test conversion between an image of Yxys and XYZ
Method test_Yxy_to_XYZ_list Test conversion between a list of Yxys and XYZ
Instance Variable cmfs Undocumented
Instance Variable illuminants Undocumented
def __init__(self, *args, **kwargs):

Undocumented

def test_d65_cie2(self):

Test illumination D65 against 1931 CMFs 2 deg

def test_kelvin_5000_to_Yxy(self):

Test approximation of plankian radiators without adaptation or refractive index Error +- .001

def test_sRGB_to_XYZ_backforth(self):

Undocumented

def test_XYZ_to_sRGB_image(self):

Test conversion between a list of XYZs and Yxy

def test_XYZ_to_sRGB_list(self):

Test conversion between a list of XYZs and Yxy

def test_XYZ_to_Yxy_image(self):

Test conversion between an image of XYZs and Yxy

def test_XYZ_to_Yxy_list(self):

Test conversion between a list of XYZs and Yxy

def test_Yxy_to_XYZ_image(self):

Test conversion between an image of Yxys and XYZ

def test_Yxy_to_XYZ_list(self):

Test conversion between a list of Yxys and XYZ

cmfs =

Undocumented

illuminants =

Undocumented