Not sure what the primary means of doing that is, but I think it includes Doppler shift measurements of the star's light.