Inheritance diagram for nipy.neurospin.datasets.transforms.affine_transform:
The AffineTransform class
Bases: nipy.neurospin.datasets.transforms.transform.Transform
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.
Attributes
| affine |
Methods
| composed_with | |
| get_inverse | |
| inverse_mapping | |
| mapping |
Create a new affine transform object.
| Parameters: | input_space: string :
output_space: string :
affine: 4x4 ndarray :
|
|---|
Returns a new transform obtained by composing this transform with the one provided.
| Parameters: | transform: nipy.core.transforms.transform object :
|
|---|
Transform the given coordinate from output space to input space.
| Parameters: | x: number or ndarray :
y: number or ndarray :
z: number or ndarray :
|
|---|
Transform the given coordinate from input space to output space.
| Parameters: | x: number or ndarray :
y: number or ndarray :
z: number or ndarray :
|
|---|