Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Investigate alternative continuous function for sparse spectral data representation. #335
As it occurred when starting to implement #192, our spectral data representation is not great even though it works. The current dict based underlying data structure is limiting and we have been investigating ways to represent our sparse spectral data using continuous functions so that it is possible to compute the range value in the supported domain.
The tested implementation is based on an extrapolator function wrapping an interpolating function and seems to work well albeit very much work in progress and without clues about performance: https://github.com/colour-science/colour-ramblings/blob/master/ramblings_modules/spectral_signal.py
This is one of the two major remaining blocks, the other being #267 that we aim to complete before being able to have Colour reach the stable status.
The initial implementation is in progress here: https://github.com/colour-science/colour/tree/feature/continuous_signal/colour/continuous