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_weights  (  weights  )[source]

Set the weights of the disjoint intervals.

Parameters:
weightsarray_like | None

None or a matrix of weights for the defined disjoint intervals with shape (len(Geometry.theta_intervals), len(Geometry.phi_intervals)).

Raises:
ValueError

If weights has the wrong shape.