Skip to content

PR: Add *FilmLight E-Gamut 2*.#1323

Merged
KelSolaar merged 6 commits intocolour-science:developfrom
nick-shaw:e-gamut-2
Jan 7, 2025
Merged

PR: Add *FilmLight E-Gamut 2*.#1323
KelSolaar merged 6 commits intocolour-science:developfrom
nick-shaw:e-gamut-2

Conversation

@nick-shaw
Copy link
Copy Markdown
Contributor

@nick-shaw nick-shaw commented Jan 6, 2025

Summary

Adds the new FilmLight E-Gamut 2 colourspace introduced in Baselight 6. This is a small modification of the original E-Gamut, moving the red and green primaries to enclose AWG4.

Preflight

Code Style and Quality

I apologise that I do not understand the tests sufficiently to run them and fix any errors. GitHub is currently showing CI failures after my commits.

I am happy to be educated on what I should have done!

Documentation

I do not believe any new documentation, other than the included basic docstring is needed

@nick-shaw nick-shaw changed the title E gamut 2 Add FilmLight E-Gamut 2 Jan 6, 2025
@nick-shaw
Copy link
Copy Markdown
Contributor Author

I believe that adding the lower tolerance for the XYZ matrix unit test means the tests now pass. This was needed because E-Gamut 2 uses an explicitly defined RGB to XYZ matrix, with six decimal places of precision, rather than a matrix derived from the primaries and white point.

@KelSolaar KelSolaar changed the title Add FilmLight E-Gamut 2 PR: Add *FilmLight E-Gamut 2*. Jan 7, 2025
@KelSolaar KelSolaar added this to the v0.4.7 milestone Jan 7, 2025
Copy link
Copy Markdown
Member

@KelSolaar KelSolaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @nick-shaw!

@KelSolaar KelSolaar merged commit 9c00f80 into colour-science:develop Jan 7, 2025
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