Skip to content

Caffeine And Polyphenols

This guide simulates a diluted tea UV scan. The pipeline identifies caffeine-like and catechin-like features, reports denoising performance, and shows how a simple molecule library can be replaced by lab-calibrated standards.

python -m lux.experiments caffeine-polyphenol-tea --json
from lux.pipeline import process_absorbance

processed = process_absorbance(wavelengths_nm, sample_counts, water_blank_counts, dark_counts)