magneticScattering.scatter.pauli#

pauli()#

Returns an array of the identity and three Pauli matrices.

Returns:
np.ndarray

Numpy array containing the identity and three Pauli matrices with shape (4, 2, 2).