Coverage for colour/characterisation/datasets/displays/__init__.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.11.0, created at 2025-11-15 19:01 +1300

1""" 

2References 

3---------- 

4- :cite:`Fairchild1998b` : Fairchild, M., & Wyble, D. (1998). Colorimetric 

5 Characterization of The Apple Studio Display (flat panel LCD) (p. 22). 

6 http://scholarworks.rit.edu/cgi/viewcontent.cgi?article=1922&\ 

7context=article 

8- :cite:`Machado2010a` : Machado, Gustavo Mello. (2010). A model for 

9 simulation of color vision deficiency and a color contrast enhancement 

10 technique for dichromats. (pp. 1-94). 

11 http://www.lume.ufrgs.br/handle/10183/26950 

12""" 

13 

14from colour.utilities import LazyCanonicalMapping 

15 

16from .crt import MSDS_DISPLAY_PRIMARIES_CRT 

17from .lcd import MSDS_DISPLAY_PRIMARIES_LCD 

18 

19MSDS_DISPLAY_PRIMARIES = LazyCanonicalMapping(MSDS_DISPLAY_PRIMARIES_CRT) 

20MSDS_DISPLAY_PRIMARIES.update(MSDS_DISPLAY_PRIMARIES_LCD) 

21MSDS_DISPLAY_PRIMARIES.__doc__ = """ 

22Multi-spectral distributions of display primaries. 

23 

24References 

25---------- 

26:cite:`Fairchild1998b`, :cite:`Machado2010a` 

27""" 

28 

29__all__ = [ 

30 "MSDS_DISPLAY_PRIMARIES_CRT", 

31] 

32__all__ += [ 

33 "MSDS_DISPLAY_PRIMARIES_LCD", 

34]