class_docstr: Class implements Transform protocol for testing affine Transforms
      
class_docstr_tok: ["Class","implements","Transform","protocol","for","testing","affine","Transforms"]
code: def __init__(self, aff):
      self.func = lambda pts: apply_affine(aff, pts)
  
imports: import numpy
  from nibabel.affines import apply_affine
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from ....core.api import Image, vox2mni
  from ....core.image.image_spaces import as_xyz_image, xyz_affine
  from ..affine import Affine
  from ..resample import cast_array, resample
  from ..transform import Transform
label_desc: Use image node_id 1 to create a new ApplyAffine object from inherited base classes: Transform with example: obj = ApplyAffine(aff)