colour.models.log_encoding_ViperLog

colour.models.log_encoding_ViperLog(x)[source]

Defines the Viper Log log encoding curve / opto-electronic transfer function.

Parameters:x (numeric or array_like) – Linear data \(x\).
Returns:Non-linear data \(y\).
Return type:numeric or ndarray

Notes

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

References

[SonyImageworks12]

Examples

>>> log_encoding_ViperLog(0.18)  # doctest: +ELLIPSIS
0.6360080...