The broader application of deep learning to spectral data remains a complex task due to the need for augmentation routines and architectures specific to spectral data. Here we present spectrai, an open-source Python/MATLAB deep learning package designed to facilitate the training of neural networks on spectral data and enable comparison between different methods. Spectrai provides numerous spectral data pre-processing and augmentation routines, as well as neural networks for spectral data including spectral denoising, spectral classification, spectral image segmentation, and spectral image super-resolution and transfer learning. We demonstrate application of spectrai to Raman spectroscopy and hyperspectral imaging across multiple biomedical domains.
|