Minerals Module¶
The minerals module ranks reflectance spectra against a library. It uses shape metrics including spectral angle, correlation, derivative correlation, and continuum-removed correlation.
from lux.modules.minerals import identify_mineral
result = identify_mineral(reflectance_spectrum, top_k=5)
for match in result.matches:
print(match.name, match.score)
Important Limitation¶
C12880MA covers roughly 340-850 nm. Many definitive mineral features are in SWIR, Raman, XRF, or other modalities. The module returns hypotheses, not a legally defensible mineral assay.
Best Use¶
- iron oxide trends
- visible color/continuum classes
- local reference matching
- field triage before lab confirmation