Support per-sample Delta-E references via NAME > REF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-23 09:33:52 +03:30
parent bb6e6d9b64
commit f7e3731724
6 changed files with 108 additions and 78 deletions

View File

@@ -1,10 +1,11 @@
# One sample name per line, in measurement order.
# Lines starting with # are ignored.
#
# Prefix one sample with * to mark it as the Delta-E reference: every other
# sample's Delta-E (CIEDE2000, written as the dE00 column in averaged.csv) is
# measured against it. If none is marked, the first sample is used. Example:
# *INK_A
# Name a Delta-E reference with "NAME > REF": that sample's dE00 (CIEDE2000
# in averaged.csv) is measured against REF. A bare name (no ">") is itself a
# reference. Example:
# INK_A
# INK_B > INK_A
#
# Optional notes for averaged.html (one per line, shown above the results table):
# note: Glaze: CPO1192
@@ -19,8 +20,8 @@
#
# Copy this file to samples.txt and replace with your own materials:
# cp samples.example.txt samples.txt
*INK_A
INK_B
INK_C
INK_A+INK_B[75 to 15 mix]
INK_A+INK_C[30 to 80 mix]
INK_A
INK_B > INK_A
INK_C > INK_A
INK_A+INK_B[75 to 15 mix] > INK_A
INK_A+INK_C[30 to 80 mix] > INK_A