This is the raw data and code of the article Memristor chip-based in situ spectral reconstruction for energy-efficient computational spectrometry, which is in press. If you want to use this repository, please include the citations:
Zhao, H.; Wang, L.; Zhou, Y.; Tang, J.; Cai, W.; Wu, H.; et al.; Memristor chip-based in situ spectral reconstruction for energy-efficient computational spectrometry. Nature Electronics (In press).
As for the code, please download all the files in the CODE folder and run main_xxx.m with MATLAB. This code include four demonstrations:
- Reconstruction of narrowband spectra: narrowband_spectra_reconstruction
- Reconstruction of broadband spectra: broadband_spectra_reconstruction
- Spectral imaging: spectral_imaging
- Kernel generation of Savitzky-Golay (SG) filter: Savitzky-Golay_filter_generation