Skip to content

PR: Implement support for "CCT" to "mired" conversion.#1114

Merged
KelSolaar merged 3 commits intodevelopfrom
feature/mired
Mar 5, 2023
Merged

PR: Implement support for "CCT" to "mired" conversion.#1114
KelSolaar merged 3 commits intodevelopfrom
feature/mired

Conversation

@KelSolaar
Copy link
Copy Markdown
Member

@KelSolaar KelSolaar commented Mar 4, 2023

Summary

This PR adds the colour.mired_to_CCT and colour.CCT_to_mired definitions to support micro reciprocal degree conversion.

Preflight

Code Style and Quality

  • Unit tests have been implemented and passed.
  • Pyright static checking has been run and passed.
  • Pre-commit hooks have been run and passed.
  • [N/A] New transformations have been added to the Automatic Colour Conversion Graph.
  • [N/A] New transformations have been exported to the relevant namespaces, e.g. colour, colour.models.

Documentation

  • New features are documented along with examples if relevant.
  • The documentation is Sphinx and numpydoc compliant.

@coveralls
Copy link
Copy Markdown

coveralls commented Mar 4, 2023

Coverage Status

Coverage: 77.345% (+0.02%) from 77.323% when pulling 3431209 on feature/mired into 80a8f21 on develop.

@KelSolaar
Copy link
Copy Markdown
Member Author

KelSolaar commented Mar 5, 2023

I'm also taking that opportunity to add a planckian_locus_use_mireds kwargs to the colour.plotting.temperature.plot_planckian_locus definition figure:

image

@KelSolaar KelSolaar merged commit 7e0a665 into develop Mar 5, 2023
@KelSolaar KelSolaar deleted the feature/mired branch March 5, 2023 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants