Did I find the right examples for you? yes no

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

src/p/y/pypreprocess-HEAD/pypreprocess/external/nipy_labs/datasets/transforms/tests/test_affine_utils.py   pypreprocess(Download)
import numpy as np
 
from ..affine_utils import to_matrix_vector, from_matrix_vector
 
 
def test_from_matrix_vector():
    mat, vec, xform = build_xform()
    newxform = from_matrix_vector(mat, vec)
    assert_equal, newxform, xform
 

src/n/i/nipy-0.3.0/nipy/labs/datasets/transforms/tests/test_affine_utils.py   nipy(Download)
import numpy as np
 
from ..affine_utils import to_matrix_vector, from_matrix_vector
 
 
def test_from_matrix_vector():
    mat, vec, xform = build_xform()
    newxform = from_matrix_vector(mat, vec)
    assert_equal, newxform, xform