Coverage for models/rgb/datasets/pal_secam.py: 0%

1"""

2 Pal/Secam Colourspace

3=====================

4

5 Define the *Pal/Secam* colourspace:

6

7- :attr:`colour.models.RGB_COLOURSPACE_PAL_SECAM`.

8

9 References

10----------

11- :cite:`InternationalTelecommunicationUnion1998a` : International

12 Telecommunication Union. (1998). Recommendation ITU-R BT.470-6 -

13 CONVENTIONAL TELEVISION SYSTEMS (pp. 1-36).

14 http://www.itu.int/dms_pubrec/itu-r/rec/bt/\

15 R-REC-BT.470-6-199811-S!!PDF-E.pdf

16"""

17

18 from __future__ import annotations

19

20 import typing

21

22 if typing.TYPE_CHECKING:

23 from colour.hints import NDArrayFloat

24

25 from colour.models.rgb import RGB_Colourspace

26 from colour.models.rgb.datasets.itur_bt_470 import (

27 CCS_WHITEPOINT_BT470_625,

28 MATRIX_BT470_625_TO_XYZ,

29 MATRIX_XYZ_TO_BT470_625,

30 PRIMARIES_BT470_625,

31 RGB_COLOURSPACE_BT470_625,

32 WHITEPOINT_NAME_BT470_625,

33)

34

35 __author__ = "Colour Developers"

36 __copyright__ = "Copyright 2013 Colour Developers"

37 __license__ = "BSD-3-Clause - https://opensource.org/licenses/BSD-3-Clause"

38 __maintainer__ = "Colour Developers"

39 __email__ = "colour-developers@colour-science.org"

40 __status__ = "Production"

41

42 __all__ = [

43 "PRIMARIES_PAL_SECAM",

44 "WHITEPOINT_NAME_PAL_SECAM",

45 "CCS_WHITEPOINT_PAL_SECAM",

46 "MATRIX_PAL_SECAM_TO_XYZ",

47 "MATRIX_XYZ_TO_PAL_SECAM",

48 "RGB_COLOURSPACE_PAL_SECAM",

49]

50

51 PRIMARIES_PAL_SECAM: NDArrayFloat = PRIMARIES_BT470_625

52"""*Pal/Secam* colourspace primaries."""

53

54 WHITEPOINT_NAME_PAL_SECAM: str = WHITEPOINT_NAME_BT470_625

55"""*Pal/Secam* colourspace whitepoint name."""

56

57 CCS_WHITEPOINT_PAL_SECAM: NDArrayFloat = CCS_WHITEPOINT_BT470_625

58"""*Pal/Secam* colourspace whitepoint chromaticity coordinates."""

59

60 MATRIX_PAL_SECAM_TO_XYZ: NDArrayFloat = MATRIX_BT470_625_TO_XYZ

61"""*Pal/Secam* colourspace to *CIE XYZ* tristimulus values matrix."""

62

63 MATRIX_XYZ_TO_PAL_SECAM: NDArrayFloat = MATRIX_XYZ_TO_BT470_625

64"""*CIE XYZ* tristimulus values to *Pal/Secam* colourspace matrix."""

65

66 RGB_COLOURSPACE_PAL_SECAM: RGB_Colourspace = RGB_Colourspace(

67 "Pal/Secam",

68 PRIMARIES_PAL_SECAM,

69 CCS_WHITEPOINT_PAL_SECAM,

70 WHITEPOINT_NAME_PAL_SECAM,

71 MATRIX_PAL_SECAM_TO_XYZ,

72 MATRIX_XYZ_TO_PAL_SECAM,

73 RGB_COLOURSPACE_BT470_625.cctf_encoding,

74 RGB_COLOURSPACE_BT470_625.cctf_decoding,

75)

76 RGB_COLOURSPACE_PAL_SECAM.__doc__ = """

77*Pal/Secam* colourspace.

78

79 References

80----------

81:cite:`InternationalTelecommunicationUnion1998a`

82"""