What information about a star can be inferred from its Doppler shift?