Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/n/i/nipy-0.3.0/nipy/core/image/tests/test_image_list.py   nipy(Download)
from ..image_list import ImageList, iter_axis
from ..image import Image
from ....io.api import load_image
from ....core.reference.coordinate_map import (AxisError, CoordinateSystem,
                                               AffineTransform)
 
 
FIMG = load_image(funcfile)
 
 
 
    # Test image_list.get_list_data(axis = an_axis)
    funcim = load_image(funcfile)
    ilist = ImageList.from_image(funcim, axis='t')
 

src/n/i/nipy-0.3.0/nipy/algorithms/utils/tests/test_pca_image.py   nipy(Download)
                                               drop_io_dim, AxisError)
from ....core.image.image import rollimg
from ....io.api import  load_image
 
from nose.tools import assert_raises
def setup():
    img = load_image(funcfile)
    # Here, I'm just doing this so I know that img.shape[0] is the number of
    # volumes
    t0_img = rollimg(img, 't')