Data must be in two columns where the first column is time and the second the time scan.

If your sample scan has reflections then truncating the data to remove them will reduce oscillations in the refractive index...