Plant Water Stress¶
This guide simulates a VIS/NIR leaf reflectance scan for drought stress. The synthetic data stands in for a leaf measurement against a white tile reference. Swap in real Luxnode arrays after capturing dark, white, and sample frames with the same geometry.
python -m lux.experiments plant-water-stress --json
from lux.modules.plants import plant_metrics
from lux.pipeline import process_reflectance
processed = process_reflectance(wavelengths_nm, sample_counts, white_counts, dark_counts)
metrics = plant_metrics(processed.calibrated)