Turn time-tag spectral data into lightcurves