Euler’s rotation matrix.
We use the x-convention, as in [1].
phi (float) – angles
theta (float) – angles
psi (float) – angles
deg (bool) – angles in degree (True) or radians (False, default)
References