Did I find the right examples for you? yes no

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)

src/p/y/pypreprocess-HEAD/pypreprocess/external/nipy_labs/datasets/volumes/volume_img.py   pypreprocess(Download)
from ..transforms.affine_utils import to_matrix_vector, \
                from_matrix_vector, get_bounds
from ..transforms.affine_transform import AffineTransform
from ..transforms.transform import CompositionError
 
    def get_transform(self):
        return AffineTransform('voxel_space', self.world_space, self.affine)
 
    # Inherit docstring
    get_transform.__doc__ = VolumeGrid.get_transform.__doc__

src/n/i/nipy-0.3.0/nipy/labs/datasets/volumes/volume_img.py   nipy(Download)
from ..transforms.affine_utils import to_matrix_vector, \
                from_matrix_vector, get_bounds
from ..transforms.affine_transform import AffineTransform
from ..transforms.transform import CompositionError
 
    def get_transform(self):
        return AffineTransform('voxel_space', self.world_space, self.affine)
 
    # Inherit docstring
    get_transform.__doc__ = VolumeGrid.get_transform.__doc__

src/p/y/pypreprocess-HEAD/pypreprocess/external/nipy_labs/datasets/__init__.py   pypreprocess(Download)
from .volumes.volume_grid  import VolumeGrid
from .transforms.transform import Transform, CompositionError
from .transforms.affine_transform import AffineTransform
from .transforms.affine_utils import apply_affine
 

src/n/i/nipy-0.3.0/nipy/labs/datasets/__init__.py   nipy(Download)
from .volumes.volume_grid  import VolumeGrid
from .transforms.transform import Transform, CompositionError
from .transforms.affine_transform import AffineTransform
from .transforms.affine_utils import apply_affine
 

src/p/y/pypreprocess-HEAD/pypreprocess/external/nipy_labs/datasets/volumes/tests/test_volume_img.py   pypreprocess(Download)
 
from ...transforms.affine_utils import from_matrix_vector
from ...transforms.affine_transform import AffineTransform
from ...transforms.transform import Transform
from ..volume_img import VolumeImg, CompositionError
    N = 10
    identity1  = Transform('world1', 'world2', id, id) 
    identity2  = AffineTransform('world1', 'world2', np.eye(4)) 
    for identity in (identity1, identity2):
        data = np.random.random((N, N, N))

src/n/i/nipy-0.3.0/nipy/labs/datasets/volumes/tests/test_volume_img.py   nipy(Download)
 
from ...transforms.affine_utils import from_matrix_vector
from ...transforms.affine_transform import AffineTransform
from ...transforms.transform import Transform
from ..volume_img import VolumeImg, CompositionError
    N = 10
    identity1  = Transform('world1', 'world2', id, id) 
    identity2  = AffineTransform('world1', 'world2', np.eye(4)) 
    for identity in (identity1, identity2):
        data = np.random.random((N, N, N))