I am trying to understand how the doppler effect was used when determining that the other stars were moving away from us. I get that the spectral lines observed are shifted and by examining that data we can calculate how fast its moving and if it is towards or away from us. could anyone elaborate on this? can we actually tell a direction; is the margin of error large or small? ... i guess i just need more info to comprehend it all..