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: Transform the given coordinate from output space to input space.
  
  Parameters
  ----------
  x: number or ndarray
      The x coordinates
  y: number or ndarray
      The y coordinates
  z: number or ndarray
      The z coordinates
docstr_tok: ["Transform","the","given","coordinate","from","output","space","to","input","space",".","Parameters","--","--","--","--","--","x",":","number","or","ndarray","The","x","coordinates","y",":","number","or","ndarray","The","y","coordinates","z",":","number","or","ndarray","The","z","coordinates"]
code: def inverse_mapping(self, x, y, z):
      """Transform the given coordinate from output space to input space.
  
      Parameters
      ----------
      x: number or ndarray
          The x coordinates
      y: number or ndarray
          The y coordinates
      z: number or ndarray
          The z coordinates
      """
      return apply_affine(x, y, z, np.linalg.inv(self.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 4 for calling the AffineTransform obj's underlying member method code with example usage: obj.inverse_mapping(x, y, z) and returns: apply_affine