Measurement of the excitation dependence of the Lorentz local-field shift