class_docstr: A transformation from an input 3D space to an output 3D space defined
  by an affine matrix.
  
  It is defined by the affine matrix , and the name of the input and output
  spaces.
docstr: Returns a new transform obtained by composing this transform
  with the one provided.
  
  Parameters
  -----------
  transform: nipy.core.transforms.transform object
      The transform to compose with.
docstr_tok: ["Returns","a","new","transform","obtained","by","composing","this","transform","with","the","one","provided",".","Parameters","--","--","--","--","--","-","transform",":","nipy.core.transforms.transform","object","The","transform","to","compose","with","."]
code: def composed_with(self, transform):
      """Returns a new transform obtained by composing this transform
      with the one provided.
  
      Parameters
      -----------
      transform: nipy.core.transforms.transform object
          The transform to compose with.
      """
      if not isinstance(transform, AffineTransform):
          return super().composed_with(transform)
      self._check_composition(transform)
      new_affine = np.dot(transform.affine, self.affine)
      return AffineTransform(
          self.input_space,
          transform.output_space,
          new_affine,
      )
  
file_path: nipy/nipy/labs/datasets/transforms/affine_transform.py
imports: import numpy
  from .affine_utils import apply_affine
  from .transform import Transform
label_desc: Use image node_id 2 for calling the AffineTransform obj's underlying member method code with example usage: obj.composed_with(transform) and returns: AffineTransform, super