how does the frequency of a particular spectral line of the sun compare with the frequency of that line observed from a source on earth?