code: def FromAxisAngle(axis, angle=None):
      if angle is None:
          angle = np.linalg.norm(axis)
          if np.abs(angle) > np.finfo("float").eps:
              axis = axis / angle
  
      qw = np.cos(0.5 * angle)
      axis = axis * np.sin(0.5 * angle)
  
      return Quaternion(np.array((qw, axis[0], axis[1], axis[2])))
  
imports: import numpy
label_desc: Use image node_id 2 for calling the Quaternion obj's underlying member method code with example usage: obj.FromAxisAngle(axis, angle) and returns: Quaternion