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
[x] Unit tests have been implemented and passed.
[x] Pyright static checking has been run and passed.
[x] 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.
coverage: 99.835%. remained the same
when pulling ed810be07ca90dda819e5cf8796569cdc9a98648 on feature/spow_bt1886
into dc875229aef4a241451e49df47ed9632d9b92ae7 on develop.
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
colour
,colour.models
.Documentation