Skip to content

Commit

Permalink
Merge branch 'feature/v0.4.3' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Feb 24, 2023
2 parents 5e0af89 + 8a68699 commit f9dc3fe
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion colour/models/rgb/transfer_functions/aces.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def float_2_cv(x: float) -> float:

# pylint: disable=W0102
def log_decoding_ACESproxy(
ACESproxy: ArrayLike | ArrayLike,
ACESproxy: ArrayLike,
bit_depth: Literal[10, 12] = 10,
in_int: bool = False,
constants: dict = CONSTANTS_ACES_PROXY,
Expand Down
4 changes: 2 additions & 2 deletions colour/models/rgb/transfer_functions/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def CV_range(


def legal_to_full(
CV: ArrayLike | ArrayLike,
CV: ArrayLike,
bit_depth: int = 10,
in_int: bool = False,
out_int: bool = False,
Expand Down Expand Up @@ -137,7 +137,7 @@ def legal_to_full(


def full_to_legal(
CV: ArrayLike | ArrayLike,
CV: ArrayLike,
bit_depth: int = 10,
in_int: bool = False,
out_int: bool = False,
Expand Down
2 changes: 1 addition & 1 deletion colour/models/rgb/transfer_functions/dcdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def eotf_inverse_DCDM(XYZ: ArrayLike, out_int: bool = False) -> NDArrayReal:


def eotf_DCDM(
XYZ_p: ArrayLike | ArrayLike,
XYZ_p: ArrayLike,
in_int: bool = False,
) -> NDArrayFloat:
"""
Expand Down
2 changes: 1 addition & 1 deletion colour/models/rgb/transfer_functions/dicom_gsdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def eotf_inverse_DICOMGSDF(


def eotf_DICOMGSDF(
J: ArrayLike | ArrayLike,
J: ArrayLike,
in_int: bool = False,
constants: Structure = CONSTANTS_DICOMGSDF,
) -> NDArrayFloat:
Expand Down
6 changes: 3 additions & 3 deletions colour/models/rgb/transfer_functions/rimm_romm_rgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def cctf_encoding_ROMMRGB(


def cctf_decoding_ROMMRGB(
X_p: ArrayLike | ArrayLike,
X_p: ArrayLike,
bit_depth: int = 8,
in_int: bool = False,
) -> NDArrayFloat:
Expand Down Expand Up @@ -294,7 +294,7 @@ def cctf_encoding_RIMMRGB(


def cctf_decoding_RIMMRGB(
X_p: ArrayLike | ArrayLike,
X_p: ArrayLike,
bit_depth: int = 8,
in_int: bool = False,
E_clip: float = 2.0,
Expand Down Expand Up @@ -461,7 +461,7 @@ def log_encoding_ERIMMRGB(


def log_decoding_ERIMMRGB(
X_p: ArrayLike | ArrayLike,
X_p: ArrayLike,
bit_depth: int = 8,
in_int: bool = False,
E_min: float = 0.001,
Expand Down

0 comments on commit f9dc3fe

Please sign in to comment.