Spectral Data Sources¶
The default tests currently use only data/seed/lux_seed_library.json and the
synthetic libraries generated by lux.experiments; Lux does not yet ingest a
measured external mineral database by default.
Large downloadable datasets belong in su3-labs/lux-data, exposed through the
Lux Data registry at https://data.luxnode.org. Keep CI small: Lux should test
against the tiny seed library or a checked-in fixture, while local users can
download full reference libraries from the data registry.
Useful external sources for later importers:
- USGS Spectral Library Version 7 for minerals, soils, vegetation, and materials. This is the first measured source to ingest because it is broad, stable, cited, and public domain.
- NASA/JPL ECOSTRESS Spectral Library for vegetation, minerals, soils, and man-made materials. Use a fetch-on-demand adapter until redistribution terms are confirmed.
- RRUFF for mineral reference spectra where its license and spectral modality fit the use case. Use links/adapters until redistribution permission is clear.
- RELAB/PDS spectral bundles for research-grade reflectance references; keep noncommercial data separate from the default Lux bundle.
- Locally measured beer and kombucha calibration sets paired with lab references for SRM/EBC, pH, titratable acidity, Brix, ethanol, turbidity, and polyphenols.
When adding importers, preserve source metadata, wavelength units, instrument resolution, measurement geometry, preprocessing, and license notes.