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_laser  (  laser=None  )[source]

Set the laser and update the saturation parameter and the polarization.

Parameters:
laserLaser | None

The incident laser beam. If None, a laser with the transition frequency, an intensity of $1$ and the default polarization is used.