colour.models.log_decoding_Panalog#

colour.models.log_decoding_Panalog(y: FloatingOrArrayLike, black_offset: FloatingOrArrayLike = 10 ** 64 - 681 / 444) FloatingOrNDArray[source]#

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

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

  • black_offset (FloatingOrArrayLike) – Black offset.

Returns

Linear data \(x\).

Return type

numpy.floating or 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

y

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

x

[0, 1]

[0, 1]

References

[SonyImageworks12]

Examples

>>> log_decoding_Panalog(0.374576791382298)  
0.1...