From 89a67854f5af72836498a9412f759d4337fad32d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 14 Jun 2026 18:50:27 +0200 Subject: Migrate remaining GSoC posts Co-authored-by: Cursor --- site/content/gsoc/june_ends.typ | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 site/content/gsoc/june_ends.typ (limited to 'site/content/gsoc/june_ends.typ') diff --git a/site/content/gsoc/june_ends.typ b/site/content/gsoc/june_ends.typ new file mode 100644 index 0000000..49fab67 --- /dev/null +++ b/site/content/gsoc/june_ends.typ @@ -0,0 +1,17 @@ +#import "/common.typ": post + +#show: post.with( + title: "June ends", + date: datetime(year: 2020, month: 7, day: 1), +) + +The first coding has ended and I'm happy to say my #link("https://github.com/colour-science/colour/pull/603")[pull request] is nearly complete. I'm waiting for mentors to review the code, then I'll fix any remaining issues. + +Here's a quick summary of the new code: +- A new sub-module called `jakob2019` was created as a part of `colour.recovery`. +- The main interface is `RGB_to_sd_Jakob2019`, which turns colors (from any RGB space supported by Colour) to a spectral distribution. +- A low-level interface, `find_coefficients`, can be used if only the model parameters are needed. It's where the entire optimization algorithm takes place. +- It's also worth mentioning `error_function`, the function minimized during optimization. It also returns its own gradient (derivatives of the function value with respect to its inputs) to aid numerical algorithms. This required analytically differentiating all the intermediate steps. +- The `Jakob2019Interpolator` class can be used to work with precomputed tables. It can read and write the article's authors' `.coeff` files and also generate new ones. +- All functions and classes are documented. +- Close to 100% test coverage. Unit tests still need some improvements. -- cgit