- qspec.simulate.ScatteringRate. set_b ( b )[source]
-
Set the magnetic field for all states and update the quantization axis and the resonance positions.
- Parameters:
-
- barray_like | None
The magnetic field vector or its $z$-component. If
None, there is no magnetic field.