Skip to content

Commit 75d22ec

Browse files
committed
Merge branch 'release/v0.2.3'
2 parents d979071 + 692bb1e commit 75d22ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+529
-239
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ repos:
33
rev: '1.0.1'
44
hooks:
55
- id: flynt
6+
- repo: https://github.com/PyCQA/isort
7+
rev: '5.12.0'
8+
hooks:
9+
- id: isort
610
- repo: https://github.com/charliermarsh/ruff-pre-commit
711
rev: 'v0.0.285'
812
hooks:

BIBLIOGRAPHY.bib

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ @misc{Brendel2020
1010
author = {Brendel, Harald},
1111
year = 2020,
1212
month = apr,
13+
urldate = {2020-09-26},
1314
}
1415
@article{Breneman1987b,
1516
title = {Corresponding Chromaticities for Different States of
@@ -23,6 +24,7 @@ @article{Breneman1987b
2324
pages = 1115,
2425
issn = {1084-7529},
2526
doi = {10.1364/JOSAA.4.001115},
27+
urldate = {2014-09-27},
2628
abstract = {While each of his or her two eyes was independently
2729
adapted to a different illuminant in viewing a complex visual
2830
field, each of a number of observers matched a series of test
@@ -132,6 +134,7 @@ @article{Jakob2019
132134
pages = {147--155},
133135
issn = {0167-7055, 1467-8659},
134136
doi = {10.1111/cgf.13626},
137+
urldate = {2020-06-21},
135138
langid = {english},
136139
}
137140
@inproceedings{Jiang2013,
@@ -184,6 +187,7 @@ @inproceedings{Langlands2020
184187
publisher = {{ACM}},
185188
address = {{Virtual Event USA}},
186189
doi = {10.1145/3388767.3407368},
190+
urldate = {2022-05-28},
187191
isbn = {978-1-4503-7971-7},
188192
langid = {english},
189193
}
@@ -296,6 +300,7 @@ @misc{Luo1997
296300
title = {Using the {{LUTCHI Colour Appearance Data}}},
297301
author = {Luo, M Ronnier and Rhodes, Peter A.},
298302
year = 1997,
303+
urldate = {2019-09-10},
299304
howpublished = {https://web.archive.org/web/20040212195937/http://colour.derby.ac.uk:80/colour/info/lutchi/},
300305
}
301306
@article{Luo1999,
@@ -308,7 +313,7 @@ @article{Luo1999
308313
number = 4,
309314
pages = {295--296},
310315
issn = {0361-2317},
311-
doi = {10.1002/(SICI)1520-6378(199908)24:4<295::AID-COL10>3.0.CO;2-K},
316+
doi = {10.1002/(SICI)1520-6378(199908)24:4{$<$}295::AID-COL10{$>$}3.0.CO;2-K},
312317
abstract = {Predicting the binding mode of flexible polypeptides
313318
to proteins is an important task that falls outside the domain of
314319
applicability of most small molecule and protein-protein docking
@@ -368,17 +373,27 @@ @misc{Silvennoinen
368373
author = {Silvennoinen, Raimo and {University of Kuopio}},
369374
doi = {10.5281/zenodo.3269920},
370375
}
376+
@inproceedings{Solomatov2023,
377+
title = {Spectral Sensitivity Estimation without a Camera},
378+
booktitle = {{{IEEE}} International Conference on Computational
379+
Photography ({{ICCP}})},
380+
author = {Solomatov, Grigory and Akkaynak, Derya},
381+
year = 2023,
382+
month = jul,
383+
}
371384
@misc{Winquist2022,
372385
title = {Physlight - {{Camera Spectral Sensitivity Curves}}},
373386
author = {Winquist, Erik and Thurston, Kimball and {Weta
374387
Digital}},
375388
year = 2022,
389+
urldate = {2022-05-28},
376390
}
377391
@misc{X-Rite2016,
378392
title = {New Color Specifications for {{ColorChecker SG}} and
379393
{{Classic Charts}}},
380394
author = {{X-Rite}},
381395
year = 2016,
396+
urldate = {2018-10-29},
382397
howpublished = {http://xritephoto.com/ph\_product\_overview.aspx?ID=938\&Action=Support\&SupportID=5884\#},
383398
}
384399
@misc{Zhao2009,

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,15 @@ definition:
8686
colour-science-datasets
8787
=======================
8888

89-
Datasets : 22
89+
Datasets : 23
9090
Synced : 1
9191
URL : https://zenodo.org/communities/colour-science-datasets/
9292

9393
Datasets
9494
--------
9595

9696
[ ] 3269926 : Agfa IT8.7/2 Set - Marszalec (n.d.)
97+
[ ] 8314702 : Camera Dataset - Solomatov and Akkaynak (2023)
9798
[ ] 3245883 : Camera Spectral Sensitivity Database - Jiang et al. (2013)
9899
[ ] 3367463 : Constant Hue Loci Data - Hung and Berns (1995)
99100
[ ] 3362536 : Constant Perceived-Hue Data - Ebner and Fairchild (1998)

colour_datasets/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@
1616
"""
1717

1818
import contextlib
19-
import numpy as np
2019
import os
2120
import subprocess
2221

2322
import colour
23+
import numpy as np
2424

25-
from .records import Configuration
26-
from .records import Community, Record, datasets
27-
from .records import sandbox
2825
from .loaders import load
26+
from .records import Community, Configuration, Record, datasets, sandbox
2927

3028
__author__ = "Colour Developers"
3129
__copyright__ = "Copyright 2019 Colour Developers"
@@ -53,7 +51,7 @@
5351

5452
__major_version__ = "0"
5553
__minor_version__ = "2"
56-
__change_version__ = "2"
54+
__change_version__ = "3"
5755
__version__ = ".".join(
5856
(__major_version__, __minor_version__, __change_version__)
5957
)

colour_datasets/loaders/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from .labsphere2019 import DatasetLoader_Labsphere2019, build_Labsphere2019
2020
from .luo1997 import DatasetLoader_Luo1997, build_Luo1997
2121
from .luo1999 import DatasetLoader_Luo1999, build_Luo1999
22+
from .solomotav2023 import DatasetLoader_Solomotav2023, build_Solomotav2023
2223
from .winquist2022 import DatasetLoader_Winquist2022, build_Winquist2022
2324
from .xrite2016 import DatasetLoader_XRite2016, build_XRite2016
2425
from .zhao2009 import DatasetLoader_Zhao2009, build_Zhao2009
@@ -70,6 +71,10 @@
7071
"DatasetLoader_Luo1999",
7172
"build_Luo1999",
7273
]
74+
__all__ += [
75+
"DatasetLoader_Solomotav2023",
76+
"build_Solomotav2023",
77+
]
7378
__all__ += [
7479
"DatasetLoader_Winquist2022",
7580
"build_Winquist2022",
@@ -96,6 +101,7 @@
96101
DatasetLoader_Labsphere2019.ID: build_Labsphere2019,
97102
DatasetLoader_Luo1997.ID: build_Luo1997,
98103
DatasetLoader_Luo1999.ID: build_Luo1999,
104+
DatasetLoader_Solomotav2023.ID: build_Solomotav2023,
99105
DatasetLoader_Winquist2022.ID: build_Winquist2022,
100106
DatasetLoader_XRite2016.ID: build_XRite2016,
101107
DatasetLoader_Zhao2009.ID: build_Zhao2009,

colour_datasets/loaders/asano2015.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616

1717
from __future__ import annotations
1818

19-
import numpy as np
2019
import os
21-
import xlrd
2220
from collections import namedtuple
2321

22+
import numpy as np
23+
import xlrd
2424
from colour import SpectralShape
2525
from colour.colorimetry import (
26-
XYZ_ColourMatchingFunctions,
2726
LMS_ConeFundamentals,
27+
XYZ_ColourMatchingFunctions,
2828
)
2929
from colour.hints import Dict, NDArrayFloat
3030
from colour.utilities import as_float_array, tstack

colour_datasets/loaders/brendel2020.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
from __future__ import annotations
1919

20-
import numpy as np
2120
import os
2221

23-
from colour import LinearInterpolator, SpectralShape, SpectralDistribution
22+
import numpy as np
23+
from colour import LinearInterpolator, SpectralDistribution, SpectralShape
2424
from colour.hints import Dict
2525
from colour.utilities import as_int
2626

colour_datasets/loaders/dyer2017.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
from __future__ import annotations
1818

19-
import json
2019
import glob
20+
import json
2121
import os
2222

2323
from colour import MultiSpectralDistributions, SpectralDistribution

colour_datasets/loaders/ebner1998.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
from __future__ import annotations
2020

2121
import codecs
22-
import numpy as np
2322
import os
2423
from collections import namedtuple
2524

25+
import numpy as np
2626
from colour.hints import Dict, NDArrayFloat
2727
from colour.utilities import as_float_array
2828

colour_datasets/loaders/hung1995.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
from __future__ import annotations
2020

21-
import numpy as np
2221
import os
2322
from collections import namedtuple
2423

24+
import numpy as np
2525
from colour import CCS_ILLUMINANTS, xy_to_XYZ, xyY_to_XYZ
2626
from colour.hints import Dict
2727

0 commit comments

Comments
 (0)