colour.models.log_decoding_Log3G10

colour.models.log_decoding_Log3G10(y, method='v3')[source]

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

Parameters
  • y (numeric or array_like) – Non-linear data \(y\).

  • method (unicode, optional) – {‘v1’, ‘v2’, ‘v3’}, Computation method.

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], [REDDCinema17]

Examples

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