Colour v0.3.10 Release Notes

Release Date: 2017-12-02 // over 6 years ago
  • Colour 0.3.10 - Alpha Milestone

    Colour is now formatted using Yapf, the current configuration is subject to change but this will help contributors not using PyCharm to use their favourite editor while having the capability to format the contributed code to our Colour standard.

    🔋 Features

    colour.biochemistry

    • Implement support for Michaelis–Menten kinetics, a model of enzyme kinetics with colour.reaction_rate_MichealisMenten and colour.substrate_concentration_MichealisMenten definitions. (@KelSolaar)

    colour.colorimetry

    • Implement support for yellowness computation with colour.yellowness_ASTMD1925 and colour.yellowness_ASTME313 definitions. (@KelSolaar)
    • Implement support for Fairchild and Wyble (2010)lightness computation with colour.lightness_Fairchild2010 definition. (@KelSolaar)
    • Implement support for Fairchild and Wyble (2010)luminance computation with colour.luminance_Fairchild2010 definition. (@KelSolaar)

    colour.models

    • 🌲 Implement support for ARIB STD-B67 (Hybrid Log-Gamma) EOTF and OETF with colour.eotf_ARIBSTDB67 and colour.oetf_ARIBSTDB67 definitions. (@KelSolaar)
    • Implement support for DICOM - Grayscale Standard Display Function EOTF and OETF with colour.eotf_DICOMGSDF and colour.oetf_DICOMGSDF definitions. (@KelSolaar)
    • Implement support for Protune Native colourspace with colour.PROTUNE_NATIVE_COLOURSPACE colourspace class. (@KelSolaar)
    • Implement support for Protune log curves with colour.log_encoding_Protune and colour.log_decoding_Protune definitions. (@KelSolaar)
    • Implement support for Prismatic colourspace with colour.RGB_to_Prismatic and colour.Prismatic_to_RGB definitions. (@KelSolaar)
    • Implement support for hdr-CIELab and hdr-IPT colourspaces with colour.XYZ_to_hdr_CIELab, colour.hdr_CIELab_to_XYZ, colour.XYZ_to_hdr_IPT and colour.hdr_IPT_to_XYZ definitions. (@KelSolaar)

    colour.recovery

    • Implement support for Meng et al. reflectance recovery method with colour.XYZ_to_spectral_Meng2015 definition. (@KelSolaar)

    colour.utilities

    • Implement colour.as_namedtuple definition that attempts to convert given array_like, Mapping or Numpy structured array to namedtuple. (@KelSolaar)

    🛠 Fixes

    colour.appearance

    • colour.XYZ_to_CIECAM02 and colour.CIECAM02_to_XYZ definitions handles negative numbers gracefully as per CIECAM02 and Its Recent Developments (@crowsonkb)

    colour.colorimetry.

    • colour.TriSpectralPowerDistribution.items method was broken. (@KelSolaar)

    colour.models

    • colour.eotf_BT1886 and colour.oetf_BT1886 definitions default arguments L_B and L_W had their default values changed from respectively 64 and 940 to 0 and 1. (@KelSolaar, @nick-shaw)

    🔄 Changes

    colour.appearance

    • colour.CIECAM02_to_XYZ: (@KelSolaar, @crowsonkb)
      • Signature: CIECAM02_to_XYZ(CIECAM02_specification, XYZ_w, L_A, Y_b, surround=CIECAM02_VIEWING_CONDITIONS['Average'], discount_illuminant=False)

    colour.colorimetry

    • colour.whiteness_ASTM313: (@KelSolaar)
      • Name: whiteness_ASTME313

    colour.models