Releases: colour-science/colour
Releases · colour-science/colour
Colour 0.3.3
Colour 0.3.3 - Alpha Milestone
Features
colour.adaptation
- Implement support for various new chromatic adaptation models: (@KelSolaar, @MichaelMauderer)
- CMCCAT2000:
colour.chromatic_adaptation_CMCCAT2000
- CIE 1994:
colour.chromatic_adaptation_CIE1994
- Fairchild (1990):
colour.chromatic_adaptation_Fairchild1990
- CMCCAT2000:
- Implement new convenient Von Kries chromatic adaptation model wrapper definition:
colour.chromatic_adaptation_VonKries
.
It allows adaptation of a given CIE XYZ colourspace matrix from given source to target viewing conditions CIE XYZ colourspace whitepoint matrices. (@KelSolaar) - Implement new chromatic adaptation transforms: (@KelSolaar)
colour.SHARP_CAT
colour.CMCCAT2000_CAT
colour.CMCCAT97_CAT
colour.CAT02_BRILL_CAT
colour.BS_CAT
colour.BS_PC_CAT
colour.algebra
- Implement convenient random triplet generator definition:
colour.random_triplet_generator
. (@KelSolaar, @MichaelMauderer)
colour.colorimetry
- Implement new methods to exponentiate spectral power distributions and tri-spectral power distributions:
colour.SpectralPowerDistribution.__pow__
andcolour.TriSpectralPowerDistribution.__pow__
. (@canavandl) - Implement new properties for Latex title in spectral power distributions and tri-spectral power distributions:
colour.SpectralPowerDistribution.title
andcolour.TriSpectralPowerDistribution.title
. (@KelSolaar) - Add new light sources: (@KelSolaar)
- Natural
- Philips TL-84
- T8 Luxline Plus White
- SA
- SC
- T8 Polylux 3000
- T8 Polylux 4000
- Thorn Kolor-rite
- Cool White FL
- Daylight FL
- HPS
- Incandescent
- LPS
- Mercury
- Metal Halide
- Neodimium Incandescent
- Super HPS
- Triphosphor FL
- 3-LED-1 (457/540/605)
- 3-LED-2 (473/545/616)
- 3-LED-2 Yellow
- 3-LED-3 (465/546/614)
- 3-LED-4 (455/547/623)
- 4-LED No Yellow
- 4-LED Yellow
- 4-LED-1 (461/526/576/624)
- 4-LED-2 (447/512/573/627)
- Luxeon WW 2880
- PHOS-1
- PHOS-2
- PHOS-3
- PHOS-4
- Phosphor LED YAG
- 60 A/W (Soft White)
- C100S54 (HPS)
- C100S54C (HPS)
- F32T8/TL830 (Triphosphor)
- F32T8/TL835 (Triphosphor)
- F32T8/TL841 (Triphosphor)
- F32T8/TL850 (Triphosphor)
- F32T8/TL865 /PLUS (Triphosphor)
- F34/CW/RS/EW (Cool White FL)
- F34T12/LW/RS /EW
- F34T12WW/RS /EW (Warm White FL)
- F40/C50 (Broadband FL)
- F40/C75 (Broadband FL)
- F40/CWX (Broadband FL)
- F40/DX (Broadband FL)
- F40/DXTP (Delux FL)
- F40/N (Natural FL)
- H38HT-100 (Mercury)
- H38JA-100/DX (Mercury DX)
- MHC100/U/MP /3K
- MHC100/U/MP /4K
- SDW-T 100W/LV (Super HPS)
- Implement whiteness computation support: (@KelSolaar)
colour.whiteness_Berger1959
colour.whiteness_Taube1960
colour.whiteness_Stensby1968
colour.whiteness_ASTM313
colour.whiteness_Ganz1979
colour.whiteness_CIE2004
- Implement Luminous Flux computation support:
colour.luminous_flux
. (@canavandl, @MichaelMauderer, @KelSolaar)
colour.corresponding
- Add Breneman (1987) corresponding chromaticities dataset. (@KelSolaar)
- Implement new definitions to compute corresponding chromaticities prediction using Breneman (1987) dataset: (@KelSolaar)
colour.corresponding_chromaticities_prediction_VonKries
colour.corresponding_chromaticities_prediction_CIE1994
colour.corresponding_chromaticities_prediction_CMCCAT2000
colour.corresponding_chromaticities_prediction_Fairchild1990
colour.io
- Implement support for IES TM-27-14 - IES Standard Format for the Electronic Transfer of Spectral Data paper:
colour.IES_TM2714_Spd
(@KelSolaar) - Implement support for X-Rite ProfileMaker 5 spectral data files reading:
colour.read_spds_from_xrite_file
(@KelSolaar)
colour.models
- Add remaining relevant Pointer's Gamut data. (@KelSolaar)
- Implement convenient
colour.sRGB_to_XYZ
definition. (@KelSolaar) - Implement support for IPT colourspace:
colour.XYZ_to_IPT
,colour.IPT_to_XYZ
,colour.IPT_hue_angle
. (@MichaelMauderer)
colour.plotting
- Implement new definition to plot Colour Quality Scale:
colour.plotting.colour_quality_scale_bars_plot
. (@KelSolaar) - Implement new definition to plot corresponding chromaticities prediction:
colour.plotting.corresponding_chromaticities_prediction_plot
. (@KelSolaar) - Implement new definition to define figures size and aspect ratio:
colour.plotting.canvas
. (@KelSolaar)
colour.quality
- Implement Colour Quality Scale computation. (@canavandl, @KelSolaar)
colour.recovery
- Implement support for reflectance recovery using Smits (1999) method:
colour.RGB_to_spectral_Smits1999
. (@KelSolaar)
colour.utilities
- Implement convenient
colour.utilities.batch
definition yielding batches from given iterable. (@KelSolaar)
Fixes
colour.appearance
- Precision issue in
colour.XYZ_to_LLAB
definition because of roundedcolour.appearance.llab.LLAB_RGB_TO_XYZ_MATRIX
. (@MichaelMauderer)
colour.colorimetry
colour.SpectralShape.range
method was returning an extra number when used with some non uniformly spaced variables. (@KelSolaar)
colour.models
colour.ALEXA_WIDE_GAMUT_RGB_TRANSFER_FUNCTION
was incorrectly computed (@KelSolaar)colour.PROPHOTO_RGB_INVERSE_TRANSFER_FUNCTION
was incorrectly computed (@sagland, @KelSolaar)colour.REC_709_INVERSE_TRANSFER_FUNCTION
was incorrectly computed (@sagland, @KelSolaar)colour.REC_2020_INVERSE_TRANSFER_FUNCTION
was incorrectly computed (@sagland, @KelSolaar)colour.sRGB_INVERSE_TRANSFER_FUNCTION
was incorrectly computed (@sagland, @KelSolaar)
Changes
colour.algebra
colour.to_ndarray
: (@KelSolaar)- Name:
colour.as_array
- Signature:
as_array(x, shape=None, data_type=np.float_)
- Name:
colour.adaptation
colour.chromatic_adaptation_matrix
: (@KelSolaar)- Name:
colour.chromatic_adaptation_matrix_VonKries
- Signature:
chromatic_adaptation_matrix_VonKries(XYZ_w, XYZ_wr, transform='CAT02')
- Name:
colour.colorimetry
colour.bandpass_correction_stearns1988
: (@KelSolaar)- Name:
colour.bandpass_correction_Stearns1988
- Name:
colour.lightness_glasser1958
: (@KelSolaar)- Name:
colour.lightness_Glasser1958
- Name:
colour.lightness_wyszecki1964
: (@KelSolaar)- Name:
colour.lightness_Wyszecki1963
- Name:
colour.lightness_1976
: (@KelSolaar)- Signature:
colour.lightness_1976(Y, Y_n=100)
- Signature:
colour.luminance_ASTM_D1535_08
: (@KelSolaar)- Name:
colour.luminance_ASTMD153508
- Name:
colour.luminance_newhall1943
: (@KelSolaar)- Name:
colour.luminance_Newhall1943
- Name:
colour.luminance_1976
: (@KelSolaar)- Signature:
colour.luminance_1976(Lstar, Y_n=100)
- Signature:
colour.SpectralPowerDistribution
: (@KelSolaar)- Signature:
colour.SpectralPowerDistribution(self, name, data, title=None)
- Signature:
colour.TriSpectralPowerDistribution
: (@KelSolaar)- Signature:
colour.TriSpectralPowerDistribution(self, name, data, mapping, title=None, labels=None)
- Signature:
colour.difference
colour.delta_E_CIE_1976
: (@KelSolaar)- Name:
colour.delta_E_CIE1976
- Name:
colour.delta_E_CIE_1994
: (@KelSolaar)- Name:
colour.delta_E_CIE1994
- Name:
colour.delta_E_CIE_2000
: (@KelSolaar)- Name:
colour.delta_E_CIE2000
- Name:
colour.models
colour.RGB_Colourspace
(@KelSolaar)colour.RGB_Colourspace.to_RGB
:- Name:
colour.XYZ_to_RGB_matrix
- Name:
colour.RGB_Colourspace.to_XYZ
:- Name:
colour.RGB_to_XYZ_matrix
- Name:
colour.XYZ_to_RGB
: (@KelSolaar)- Signature:
XYZ_to_RGB(XYZ, illuminant_XYZ, illuminant_RGB, XYZ_to_RGB_matrix, chromatic_adaptation_transform, transfer_function)
- Signature:
colour.RGB_to_XYZ
: (@KelSolaar)- Signature:
RGB_to_XYZ(RGB, illuminant_RGB, illuminant_XYZ, RGB_to_XYZ_matrix, chromatic_adaptation_transform, inverse_transfer_function)
- Signature:
colour.RGB_to_RGB
: (@KelSolaar)- Signature:
RGB_to_RGB(RGB, input_colourspace, output_colourspace, chromatic_adaptation_transform)
- Signature:
colour.XYZ_to_sRGB
: (@KelSolaar)- Signature:
XYZ_to_sRGB(XYZ, illuminant, chromatic_adaptation_transform, transfer_function)
- Signature:
colour.models.deprecated.RGB_to_HEX
: (@KelSolaar)- Location:
colour.notation.triplet.RGB_to_HEX
- Location:
colour.models.deprecated.HEX_to_RGB
: (@KelSolaar)- Location:
colour.notation.triplet.HEX_to_RGB
- Location:
colour.POINTER_GAMUT_DATA
: (@KelSolaar)- Name:
colour.POINTER_GAMUT_BOUNDARIES
- Name:
colour.notation
colour.munsell_value_ASTM_D1535_08
: (@KelSolaar)- Name:
colour.munsell_value_ASTMD153508
- Name:
colour.munsell_value_ladd1955
: (@KelSolaar)- Name:
colour.munsell_value_Ladd1955
- Name:
colour.munsell_value_mccamy1987
: (@KelSolaar)- Name:
colour.munsell_value_McCamy1987
- Name:
colour.munsell_value_moon1943
: (@KelSolaar)- Name:
colour.munsell_value_Moon1943
- Name:
colour.munsell_value_munsell1933
: (@KelSolaar)- Name:
colour.munsell_value_Munsell1933
- Name:
colour.munsell_value_priest1920
: (@KelSolaar)- Name:
colour.munsell_value_Priest1920
- Name:
colour.munsell_value_saunderson1944
: (@KelSolaar)- Name:
colour.munsell_value_Saunderson1944
- Name:
colour.plotting
: (@KelSolaar)colour.plotting.figure_size
- Remove
colour.plotting.aspect
: (@KelSolaar)- Name:
colour.plotting.decorate
- Name:
colour.plotting.bounding_box
: (@KelSolaar)- Name:
colour.plotting.boundaries
- Name:
colour.quality
colour.colour_rendering_index
(@KelSolaar)- Signature:
colour.colour_rendering_index(spd_test, additional_data=False)
- Output: Specifying
additional_data=True
argument now outputs of acolour.CRI_Specification
class instance.
- Signature:
colour.temperature
-...
Colour 0.3.2
Colour 0.3.2 - Alpha Milestone
Features
Fixes
- Ensure extra resources are packaged for Pypi. (@KelSolaar)
Changes
Colour 0.3.1
Colour 0.3.1 - Alpha Milestone
Features
- Add
utilities/references_scraping.py
utility module. (@KelSolaar)
Fixes
colour.models
- Update "Rec. 2020" reference link. (@KelSolaar)
Changes
- Update various references with DOI. (@KelSolaar)
Colour 0.3.0
Colour 0.3.0 - Alpha Milestone
Initial public release for Colour. (@KelSolaar, @MichaelMauderer, @mlfp)