Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Use colour.algebra.spow in *ITU-R BT.1886* colour component transfer functions #1296

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

KelSolaar
Copy link
Member

Summary

This PR ensures that colour.algebra.spow is used in ITU-R BT.1886 colour component transfer functions to avoid NaN generation when negative values are passed.

References #1295

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

  • [N/A] New features are documented along with examples if relevant.
  • [N/A] The documentation is Sphinx and numpydoc compliant.

@KelSolaar KelSolaar added this to the v0.4.5 milestone Sep 27, 2024
@coveralls
Copy link

Coverage Status

coverage: 99.835%. remained the same
when pulling ed810be on feature/spow_bt1886
into dc87522 on develop.

@KelSolaar KelSolaar merged commit b83a73d into develop Sep 27, 2024
26 checks passed
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