colour-science / colour

Colour Science for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
2.14k stars 263 forks source link

[FEATURE]: Implement "Modifications of the Robertson Method for Calculating Correlated Color Temperature to Improve Accuracy and Speed" #1196

Open Artoria2e5 opened 1 year ago

Artoria2e5 commented 1 year ago

Description

This 2022 paper, https://doi.org/10.1080/15502724.2023.2166060, claims to give "CCT errors less than 0.1 K throughout the range of 1,500 K to 40,000 K with Duv between −0.05 and 0.05." It involves recalculating the Robertson table and increasing the data resolution. There's also a new interpolation function to handle sign change and a more efficient search method.

KelSolaar commented 1 year ago

Thanks @Artoria2e5, looks great!