Add "colour.models.rgb.transfer_functions.itur_bt_2020.BT2020_CONSTANTS_PRECISE" attribute.
Closes
@@ -38,7 +38,10 @@ __maintainer__ = 'Colour Developers'
__email__ = 'colour-science@googlegroups.com'
__status__ = 'Production'
-__all__ = ['BT2020_CONSTANTS', 'oetf_BT2020', 'eotf_BT2020']
+__all__ = [
+ 'BT2020_CONSTANTS', 'BT2020_CONSTANTS_PRECISE', 'oetf_BT2020',
+ 'eotf_BT2020'
+]
BT2020_CONSTANTS = Structure(
alpha=lambda x: 1.0993 if x else 1.099,
@@ -49,6 +52,19 @@ BT2020_CONSTANTS = Structure(
BT2020_CONSTANTS : Structure
"""
+BT2020_CONSTANTS_PRECISE = Structure(
+ alpha=lambda x: 1.09929682680944, beta=lambda x: 0.018053968510807)
+"""
+*BT.2020* colourspace constants at double precision to connect the two curve
+segments smoothly.
+
+References
+----------
+- :cite:`InternationalTelecommunicationUnion2015h`
+
+BT2020_CONSTANTS : Structure
+"""
+
def oetf_BT2020(E, is_12_bits_system=False, constants=BT2020_CONSTANTS):
"""
