Closed tjdcs closed 5 months ago
Two tests are failing
=========================== short test summary info ============================
FAILED colour/colorimetry/generation.py::colour.colorimetry.generation.sd_gaussian
FAILED colour/colorimetry/generation.py::colour.colorimetry.generation.sd_gaussian_fwhm
===== 2 failed, 3464 passed, 11 skipped, 190 warnings in 185.65s (0:03:05) =====
However, my local environment passes these... :/ sneaky. Will investigate.
@KelSolaar the failing tests are doctest(s) in generation.py
. Do you have a prefered resolution? Should I add ellipses... or round... or something else? Seems like the explicit tests are passing within the tolerance we expect / use.
Hey @tjdcs,
Thanks a lot! Yeah ellipsis would be absolutely fine here.
Cheers,
Thomas
@KelSolaar looks like these are all passing now. Should be g2g when the last few tasks finish.
SpragueInterpolator
is the default interpolator forSpectralDistribution
making it a highly frequented code path. This PR greatly improves the performance of interpolation by using vectorized code and numpy.Other interpolators could be similarly sped up but they are lower priority.