Colour 0.3.15 - Alpha Milestone
colour.colorimetryThe typical CIE LED illuminants spectral power distributions and chromaticity coordinates have been added to the datasets: (@KelSolaar)
The recommended indoor illuminants ID65 and ID50 spectral power distributions and chromaticity coordinates have been added to the datasets. (@KelSolaar)
image
Add colour.colorimetry.sds_and_multi_sds_to_multi_sds definition that converts given spectral and multi-spectral distributions to multi-spectral distributions. (@KelSolaar)
colour.modelscolour.models.Jab_to_JCh and colour.models.JCh_to_Jab definitions. (@KelSolaar)colour.plottingImporting colour is enough to be able to plot in-place of importing colour.plotting: (@KelSolaar)
>>> import colour>>> colour.plotting.plot_image<function plot_image at 0x11e6e47a0>
colour.qualitycolour.spectral_similarity_index definition.colourVarious fixes have been implemented to ensure compatibility with Python 3.8 and Numpy 1.18. (@KelSolaar, @MaxSchambach, @mzszym)
📚 Class methods were missing documentation as a consequence of adopting the new documentation build process, this has been addressed accordingly.
colour.iocolour.notationcolour.temperaturecolour.temperature.CCT_to_uv_Krystek1985 definition was incorrectly implemented. Incorrect reading of the reference publications ended up with exponentiations being different, e.g. 10**4 was replaced with 10e4. (@OlliNiemitalo)colour.algebracolour.algebra.cartesian_to_spherical and colour.algebra.spherical_to_cartesian use ISO conversion convention. ρ is in range [0, +inf], θ is in range [0, pi] radians, i.e. [0, 180] degrees, and φ is in range [-pi, pi] radians, i.e. [-180, 180] degrees.colour.volumecolour.is_within_visible_spectrum: (@KelSolaar)
XYZ_outer_surface(XYZ, cmfs=STANDARD_OBSERVERS_CMFS['CIE 1931 2 Degree Standard Observer'].clone().align(DEFAULT_SPECTRAL_SHAPE_XYZ_OUTER_SURFACE), illuminant=sd_ones(DEFAULT_SPECTRAL_SHAPE_XYZ_OUTER_SURFACE), tolerance=None, **kwargs)colour.volume.XYZ_outer_surface: (@KelSolaar)
XYZ_outer_surface(cmfs=STANDARD_OBSERVERS_CMFS['CIE 1931 2 Degree Standard Observer'].clone().align(DEFAULT_SPECTRAL_SHAPE_XYZ_OUTER_SURFACE), illuminant=sd_ones(DEFAULT_SPECTRAL_SHAPE_XYZ_OUTER_SURFACE), **kwargs)colour.plottingcolour.plotting.common.wrap_title: (@KelSolaar)