Did I find the right examples for you? yes no

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/n/i/nipy-0.3.0/nipy/algorithms/diagnostics/tsdiffplot.py   nipy(Download)
 
import nipy
from .timediff import time_slice_diffs
 
 
        title = 'Difference plots'
    img = nipy.as_image(img)
    res = time_slice_diffs(img)
    axes = plot_tsdiffs(res, axes)
    axes[0].set_title(title)

src/n/i/nipy-0.3.0/nipy/algorithms/diagnostics/screens.py   nipy(Download)
from ...io.api import save_image
from ..utils import pca
from .timediff import time_slice_diffs
from .tsdiffplot import plot_tsdiffs
 
                              cmap_4d)
    # tsdiffana
    screen_res['ts_res'] = time_slice_diffs(data)
    return screen_res
 

src/n/i/nipy-0.3.0/nipy/algorithms/diagnostics/__init__.py   nipy(Download)
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
# Initialization for diagnostics package
 
from .timediff import time_slice_diffs

src/n/i/nipy-0.3.0/nipy/algorithms/diagnostics/tests/test_screen.py   nipy(Download)
import nipy as ni
from ..screens import screen
from ..timediff import time_slice_diffs
from ...utils.pca import pca
from ...utils.tests.test_pca import res2pos1
    for key in pca_res:
        assert_almost_equal(pca_res[key], screen_pca_res[key])
    ts_res = time_slice_diffs(data)
    for key in ts_res:
        assert_array_equal(ts_res[key], res['ts_res'][key])