Did I find the right examples for you? yes no

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

src/n/i/nipy-0.3.0/nipy/algorithms/registration/__init__.py   nipy(Download)
                     Affine2D, Rigid, Rigid2D, Similarity, Similarity2D,
                     affine_transforms)
from .groupwise_registration import (interp_slice_order, scanner_coords,
                                     make_grid, Image4d, Realign4dAlgorithm,
                                     resample4d, adjust_subsampling,

src/n/i/nipy-0.3.0/nipy/algorithms/registration/tests/test_fmri_realign4d.py   nipy(Download)
from ....fixes.nibabel import io_orientation
 
from ..groupwise_registration import Image4d, resample4d, FmriRealign4d
from ..affine import Rigid
 
def test_slice_timing():
    affine = np.eye(4)
    affine[0:3, 0:3] = im.affine[0:3, 0:3]
    im4d = Image4d(im.get_data(), affine, tr=2., tr_slices=0.0)
    x = resample4d(im4d, [Rigid() for i in range(im.shape[3])])