colour.models.log_decoding_Log3G10

colour.models.log_decoding_Log3G10(y, method='v2', **kwargs)[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’}, Computation method.
Other Parameters:
 

**kwargs (dict, optional) – Keywords arguments for deprecation management.

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

[Nattress2016a]

Examples

>>> log_decoding_Log3G10(1.0)  # doctest: +ELLIPSIS
184.3223476...
>>> log_decoding_Log3G10(1.0 / 3, method='v1')  # doctest: +ELLIPSIS
0.1799994...