Armature channel joint_rotation question

According to the armature channel class in the api, joint_rotation lets you rotate an armature channel by passing a rotation vector, which is converted into eulers/quaternions. Is there a way to do the reverse, convert an euler/quaternion rotation back into a rotation vector?