Shine the light through your sample, scan through the spectrum, and graph the results ... he applies a cubic spline interpolation to derive the spectrum. It’s demonstrated in the video below ...