Package mvpa :: Package atlases :: Module transformation :: Class SpaceTransformation

[hide private]
[frames] | no frames]

# Class SpaceTransformation

source code

To perform transformation from Voxel into Real Space. Simple one -- would subtract the origin and multiply by voxelSize. if toRealSpace is True then on call/getitem converts to RealSpace

Instance Methods | [hide private]

__init__(self, voxelSize=None, origin=None, toRealSpace=True, *args, **kwargs) | source code

toRealSpace(self, coord) | source code

toVoxelSpace(self, coord) | source code

Inherited from `TransformationBase`: `__call__`, `__getitem__`, `apply`

Method Details | [hide private]

### __init__(self, voxelSize=None, origin=None, toRealSpace=True, *args, **kwargs)
(Constructor)

source code

Overrides: TransformationBase.__init__