colour.models.log_encoding_Panalog#

colour.models.log_encoding_Panalog(x: ArrayLike, black_offset: ArrayLike = 10**64 - 681 / 444) NDArrayFloat[source]#

Define the Panalog log encoding curve / opto-electronic transfer function.

Parameters:
  • x (ArrayLike) – Linear data \(x\).

  • black_offset (ArrayLike) – Black offset.

Returns:

Non-linear data \(y\).

Return type:

numpy.ndarray

Warning

These are estimations known to be close enough, the actual log encoding curves are not published.

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_Panalog(0.18)  
0.3745767...