colour.models.log_decoding_Log3G10#

colour.models.log_decoding_Log3G10(y, method: Union[Literal['v1', 'v2', 'v3'], str] = 'v3') FloatingOrNDArray[source]#

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

Parameters:
  • y – Non-linear data \(y\).

  • method (Union[Literal['v1', 'v2', 'v3'], str]) – Computation method.

Returns:

Linear data \(x\).

Return type:

numpy.floating or numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

y

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

x

[0, 1]

[0, 1]

References

[Nat16], [REDDCinema17]

Examples

>>> log_decoding_Log3G10(1.0)  
184.3223476...
>>> log_decoding_Log3G10(1.0 / 3, method="v1")  
0.1799994...