Hyperspectral technology and software platform for mining