code: def __init__(self, array=None, radius=RADIUS):
      self._direct = True
      self._precond = preconditioner(radius)
      if array is None:
          self._vec12 = np.zeros(12)
          return
      array = np.array(array)
      if array.size == 12:
          self._vec12 = array.ravel().copy()
      elif array.shape == (4, 4):
          self.from_matrix44(array)
      else:
          raise ValueError("Invalid array")
  
imports: import numpy
  import scipy.linalg
  from nibabel.affines import apply_affine
  from transforms3d.quaternions import mat2quat, quat2axangle
  from .transform import Transform
label_desc: Use image node_id 1 to create a new Affine object from inherited base classes: Transform with example: obj = Affine(array, radius)