This supplementary materials contains two files, the first one is the raw data of the sampled signals by our spectrometer and commercial OSA with the incident spectra plotted in Fig. 8; the second one is the data of the retrieved spectra by our method and spectra measured by commercial OSA.