colour.models.log_decoding_ACESproxy#

colour.models.log_decoding_ACESproxy(ACESproxy: ArrayLike, bit_depth: Literal[10, 12] = 10, in_int: bool = False, constants: dict | None = None) NDArrayFloat[source]#

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

Parameters:
  • ACESproxy (ArrayLike) – ACESproxy non-linear value.

  • bit_depth (Literal[10, 12]) – ACESproxy bit-depth.

  • in_int (bool) – Whether to treat the input value as int code value or float equivalent of a code value at a given bit-depth.

  • constants (dict | None) – ACESproxy constants.

Returns:

lin_AP1 value.

Return type:

numpy.ndarray

Notes

Domain *

Scale - Reference

Scale - 1

ACESproxy

[0, 1]

[0, 1]

Range *

Scale - Reference

Scale - 1

lin_AP1

[0, 1]

[0, 1]

* This definition has an input int switch, thus the domain-range scale information is only given for the floating point mode.

References

[TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommittee14b], [TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommittee14c], [TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommittee13], [TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommitteea]

Examples

>>> log_decoding_ACESproxy(0.416422287390029)  
0.1...
>>> log_decoding_ACESproxy(426, in_int=True)  
0.1...