Rz#

pycraf.geometry.Rz(angle)[source]#

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.