qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.simulate.ScatteringRate. set_velocity  (  v=0.0  )[source]

Set the velocity of the atom and update the resonance positions.

Parameters:
varray_like

The velocity vector of the atom or its $z$-component (m/s).