Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.simulate. Geometry.set_weights  (  weights  )[source]

Parameters:
weightsndarray | Iterable | NoneType

None or a matrix of weights for the defined disjoint intervals. The shape of the weights must fulfill weights.shape == (len(self.theta_intervals), len(self.phi_intervals)).

Returns:
outNone

Sets the 'weights' attribute of the geometry object.

API navigation