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.Geometry. set_pdf  (  pdf  )[source]

Set the probability density function of continuous angle weights.

Parameters:
pdfCallable | None

None or a callable pdf(theta, phi).

Raises:
AttributeError

If pdf cannot be called with the two angles.