Rz

pycraf.geometry.Rz(angle)[source] [edit on github]

Construct rotation matrix about z-axis.

Parameters
angleQuantity

Rotation angle [deg]

Returns
Rzarray

Rotation matrix [no units!]

Notes

Broadcasting is supported. Rotation matrices can be (matrix-multiplied) with dot, however, if you want to multiply stacks of matrices use the new matmul function.