class_docstr: Quaternion(w=1, x=0, y=0, z=0, normalize=True)
  
  A quaternion is a mathematically convenient way to
  describe rotations.
class_docstr_tok: ["Quaternion","(","w=1",",","x=0",",","y=0",",","z=0",",","normalize=True",")","A","quaternion","is","a","mathematically","convenient","way","to","describe","rotations","."]
docstr: Classmethod to create a quaternion given the euler angles.
docstr_tok: ["Classmethod","to","create","a","quaternion","given","the","euler","angles","."]
code: def create_from_euler_angles(cls, rx, ry, rz, degrees=False):
      """Classmethod to create a quaternion given the euler angles."""
      if degrees:
          rx, ry, rz = np.radians([rx, ry, rz])
      # Obtain quaternions
      qx = Quaternion(np.cos(rx / 2), 0, 0, np.sin(rx / 2))
      qy = Quaternion(np.cos(ry / 2), 0, np.sin(ry / 2), 0)
      qz = Quaternion(np.cos(rz / 2), np.sin(rz / 2), 0, 0)
      # Almost done
      return qx * qy * qz
  
imports: import numpy
label_desc: Use image node_id 18 for calling the Quaternion obj's underlying member method code with example usage: obj.create_from_euler_angles(cls, rx, ry, rz, degrees) and returns: unknown