This is how spectroscopic binaries are found when as an image they appear as one object.  Two spectra and the move in time. 2 of 5 in spectroscopic binary explanation.