docstr: Space-to-voxel transformation at a given level.
  
  Returns the space-to-voxel transformation associated with the
  sub-sampled image at a particular resolution of the scale space (note
  that this object does not explicitly subsample the smoothed images, but
  only provides the properties the sub-sampled images must have).
  
  Parameters
  ----------
  level : int, 0 <= from_level < L, (L = number of resolutions)
      the scale space level to get the inverse transform from
  
  Returns
  -------
  the inverse (space-to-voxel) transform at the requested resolution or
  None if an invalid level was requested
docstr_tok: ["Space-to-voxel","transformation","at","a","given","level",".","Returns","the","space-to-voxel","transformation","associated","with","the","sub-sampled","image","at","a","particular","resolution","of","the","scale","space","(","note","that","this","object","does","not","explicitly","subsample","the","smoothed","images",",","but","only","provides","the","properties","the","sub-sampled","images","must","have",")",".","Parameters","--","--","--","--","--","level",":","int",",","0","<","=","from_level","<","L",",","(","L","=","number","of","resolutions",")","the","scale","space","level","to","get","the","inverse","transform","from","Returns","--","--","--","-","the","inverse","(","space-to-voxel",")","transform","at","the","requested","resolution","or","None","if","an","invalid","level","was","requested"]
code: def get_affine_inv(self, level):
      """Space-to-voxel transformation at a given level.
  
      Returns the space-to-voxel transformation associated with the
      sub-sampled image at a particular resolution of the scale space (note
      that this object does not explicitly subsample the smoothed images, but
      only provides the properties the sub-sampled images must have).
  
      Parameters
      ----------
      level : int, 0 <= from_level < L, (L = number of resolutions)
          the scale space level to get the inverse transform from
  
      Returns
      -------
      the inverse (space-to-voxel) transform at the requested resolution or
      None if an invalid level was requested
  
      """
      return self._get_attribute(self.affine_invs, level)
  
imports: import logging
  from dipy.align import floating
  import numpy
  import numpy.linalg
  from scipy.ndimage import gaussian_filter
label_desc: Use image node_id 10 for calling the ScaleSpace obj's underlying member method code with example usage: obj.get_affine_inv(level) and returns: self