colour.models.log_decoding_Log3G10

colour.models.log_decoding_Log3G10(y, legacy_curve=False)[source]

Defines the Log3G10 log decoding curve / electro-optical transfer function.

Parameters:
  • y (numeric or array_like) – Non-linear data \(y\).
  • legacy_curve (bool, optional) – Whether to use the v1 Log3G10 log encoding curve. Default is False.
Returns:

Linear data \(x\).

Return type:

numeric or ndarray

Notes

Domain Scale - Reference Scale - 1
y [0, 1] [0, 1]
Range Scale - Reference Scale - 1
x [0, 1] [0, 1]

References

[Nat16]

Examples

>>> log_decoding_Log3G10(1.0 / 3, legacy_curve=True)  # doctest: +ELLIPSIS
0.1799994...
>>> log_decoding_Log3G10(1.0)  # doctest: +ELLIPSIS
184.3223476...