So, let's say we're looking at an element and we have an emission spectra, and we know that it has five distinct different kinetic energies in that spectrum.
For each night's observations, they added all the spectra they collected together to obtain an average spectrum for the star, and then subtracted this average spectrum from each observation.