- qspec.simulate.Geometry. set_weights ( weights )[source]
-
Set the weights of the disjoint intervals.
- Parameters:
-
- weightsarray_like | None
Noneor a matrix of weights for the defined disjoint intervals with shape(len(Geometry.theta_intervals), len(Geometry.phi_intervals)).
- Raises:
-
- ValueError
If
weightshas the wrong shape.