Did I find the right examples for you? yes no

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

src/p/y/pypreprocess-HEAD/pypreprocess/external/nipy_labs/datasets/converters.py   pypreprocess(Download)
from nibabel.spatialimages import SpatialImage
 
from .volumes.volume_img import VolumeImg
 
def as_volume_img(obj, copy=True, squeeze=True, world_space=None):
        data = np.reshape(data, shape)
 
    return VolumeImg(data, affine, world_space, metadata=header)
 
 

src/n/i/nipy-0.3.0/nipy/labs/datasets/converters.py   nipy(Download)
from nibabel.spatialimages import SpatialImage
 
from .volumes.volume_img import VolumeImg
 
def as_volume_img(obj, copy=True, squeeze=True, world_space=None):
        data = np.reshape(data, shape)
 
    return VolumeImg(data, affine, world_space, metadata=header)
 
 

src/p/y/pypreprocess-HEAD/pypreprocess/external/nipy_labs/datasets/__init__.py   pypreprocess(Download)
 
from .volumes.volume_field import VolumeField
from .volumes.volume_img import VolumeImg
from .volumes.volume_grid  import VolumeGrid
from .transforms.transform import Transform, CompositionError

src/n/i/nipy-0.3.0/nipy/labs/datasets/__init__.py   nipy(Download)
 
from .volumes.volume_field import VolumeField
from .volumes.volume_img import VolumeImg
from .volumes.volume_grid  import VolumeGrid
from .transforms.transform import Transform, CompositionError