Skip to content

Commit f9dc3fe

Browse files
committed
Merge branch 'feature/v0.4.3' into develop
2 parents 5e0af89 + 8a68699 commit f9dc3fe

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

colour/models/rgb/transfer_functions/aces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def float_2_cv(x: float) -> float:
203203

204204
# pylint: disable=W0102
205205
def log_decoding_ACESproxy(
206-
ACESproxy: ArrayLike | ArrayLike,
206+
ACESproxy: ArrayLike,
207207
bit_depth: Literal[10, 12] = 10,
208208
in_int: bool = False,
209209
constants: dict = CONSTANTS_ACES_PROXY,

colour/models/rgb/transfer_functions/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def CV_range(
7070

7171

7272
def legal_to_full(
73-
CV: ArrayLike | ArrayLike,
73+
CV: ArrayLike,
7474
bit_depth: int = 10,
7575
in_int: bool = False,
7676
out_int: bool = False,
@@ -137,7 +137,7 @@ def legal_to_full(
137137

138138

139139
def full_to_legal(
140-
CV: ArrayLike | ArrayLike,
140+
CV: ArrayLike,
141141
bit_depth: int = 10,
142142
in_int: bool = False,
143143
out_int: bool = False,

colour/models/rgb/transfer_functions/dcdm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def eotf_inverse_DCDM(XYZ: ArrayLike, out_int: bool = False) -> NDArrayReal:
105105

106106

107107
def eotf_DCDM(
108-
XYZ_p: ArrayLike | ArrayLike,
108+
XYZ_p: ArrayLike,
109109
in_int: bool = False,
110110
) -> NDArrayFloat:
111111
"""

colour/models/rgb/transfer_functions/dicom_gsdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def eotf_inverse_DICOMGSDF(
156156

157157

158158
def eotf_DICOMGSDF(
159-
J: ArrayLike | ArrayLike,
159+
J: ArrayLike,
160160
in_int: bool = False,
161161
constants: Structure = CONSTANTS_DICOMGSDF,
162162
) -> NDArrayFloat:

colour/models/rgb/transfer_functions/rimm_romm_rgb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def cctf_encoding_ROMMRGB(
124124

125125

126126
def cctf_decoding_ROMMRGB(
127-
X_p: ArrayLike | ArrayLike,
127+
X_p: ArrayLike,
128128
bit_depth: int = 8,
129129
in_int: bool = False,
130130
) -> NDArrayFloat:
@@ -294,7 +294,7 @@ def cctf_encoding_RIMMRGB(
294294

295295

296296
def cctf_decoding_RIMMRGB(
297-
X_p: ArrayLike | ArrayLike,
297+
X_p: ArrayLike,
298298
bit_depth: int = 8,
299299
in_int: bool = False,
300300
E_clip: float = 2.0,
@@ -461,7 +461,7 @@ def log_encoding_ERIMMRGB(
461461

462462

463463
def log_decoding_ERIMMRGB(
464-
X_p: ArrayLike | ArrayLike,
464+
X_p: ArrayLike,
465465
bit_depth: int = 8,
466466
in_int: bool = False,
467467
E_min: float = 0.001,

0 commit comments

Comments
 (0)