rot_about_z

rubin_sim.utils.rot_about_z(vec, theta)

Rotate a Cartesian vector an angle theta about the z axis. Theta is in radians. Positive theta rotates +x towards +y.