summaryrefslogtreecommitdiff
path: root/linpoly.py
diff options
context:
space:
mode:
Diffstat (limited to 'linpoly.py')
-rwxr-xr-xlinpoly.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/linpoly.py b/linpoly.py
index 3419a07..fb58985 100755
--- a/linpoly.py
+++ b/linpoly.py
@@ -1,4 +1,10 @@
#!/usr/bin/env -S python3
+# SPDX-License-Identifier: zlib-acknowledgement
+# (c) 2025 Wolfgang 'datenwolf' Draxinger
+#
+# Fit a power polynomial of degree 16 to a tristimulus linearization LUT
+# and output the coefficients in the form of C-style arrays
+
import numpy
from numpy.polynomial import Polynomial, Chebyshev
from matplotlib.pyplot import *