Skip to content

Update colour.SpectralDistribution.interpolate method to use continuous-based integration.#1328

Merged
KelSolaar merged 1 commit intodevelopfrom
feature/continuous_interpolation
Jan 26, 2025
Merged

Update colour.SpectralDistribution.interpolate method to use continuous-based integration.#1328
KelSolaar merged 1 commit intodevelopfrom
feature/continuous_interpolation

Conversation

@KelSolaar
Copy link
Copy Markdown
Member

Summary

Update colour.SpectralDistribution.interpolate method to use continuous-based integration.

This provides support for fractional spectral-power distribution interpolation and numerical differences are to be expected in such cases.

References #1325.

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.7 milestone Jan 26, 2025
…uous-based integration.

This provides support for fractional spectral-power distribution interpolation.
@KelSolaar KelSolaar force-pushed the feature/continuous_interpolation branch from dea2cd9 to c431ecb Compare January 26, 2025 07:23
@coveralls
Copy link
Copy Markdown

coveralls commented Jan 26, 2025

Coverage Status

coverage: 97.483% (+0.005%) from 97.478%
when pulling c431ecb on feature/continuous_interpolation
into 4349fb7 on develop.

@KelSolaar KelSolaar merged commit bc5a40b into develop Jan 26, 2025
@KelSolaar KelSolaar deleted the feature/continuous_interpolation branch January 26, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants