Ramirez Lopez, L., Behrens, T., Schmidt, K., Rossel, R. A. V., Demattê, J. A. M., & Scholten, T. (2013). Distance and similarity-search metrics for use with soil vis-NIR spectra. Geoderma, 199, 43-53. https://doi.org/10.1016/j.geoderma.2012.08.035 (Original work published 2013)