- 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.