Add Delta-E column and make auto-scan.sh macOS-compatible

- averaged.csv now gets a dE00 (CIEDE2000) column measured against the
  sample marked with a leading '*' in samples.txt (falls back to the first)
- auto-scan.sh: drop bash-4-only mapfile/${var,,}, OS-aware Argyll package
  and python3 install, portable grep/sort, Linux-only udev check

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-14 14:50:25 +03:30
parent 3887505e40
commit 9f63e7c078
4 changed files with 152 additions and 13 deletions

View File

@@ -1,6 +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
#
# Single materials: just the material name/code, e.g.
# INK_A
#
@@ -10,7 +15,7 @@
#
# Copy this file to samples.txt and replace with your own materials:
# cp samples.example.txt samples.txt
INK_A
*INK_A
INK_B
INK_C
INK_A+INK_B[75 to 15 mix]