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_polarization  (  polarization=None  )[source]

Set the polarization of the incident light and update the local polarization vector ScatteringRate.e_l.

Parameters:
polarizationPolarization | None

The Polarization. If None, the light is linearly polarized along the $z$-axis.