97dff201af5dc5564e587258dc411e623b95ca52,dipy/tracking/tests/test_fbc.py,,test_fbc,#,11

Before Change


    D33 = 1.0
    D44 = 0.04
    t = 1
    np.random.seed(1)
    num_orientations = 15
    k = EnhancementKernel(D33, D44, t, orientations=num_orientations, force_recompute=True)

    // run FBC

After Change


    D33 = 1.0
    D44 = 0.04
    t = 1
    sphere = Sphere(xyz=np.array([[ 0.82819078,  0.51050355,  0.23127074],
                                 [-0.10761926, -0.95554309,  0.27450957],
                                 [ 0.4101745,  -0.07154038,  0.90919682],
                                 [-0.75573448,  0.64854889,  0.09082809],
                                 [-0.56874549,  0.01377562,  0.8223982 ]]))
    k = EnhancementKernel(D33, D44, t, orientations=sphere, force_recompute=True)
    print(np.asarray(k.get_orientations()))

    // run FBC
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: nipy/dipy
Commit Name: 97dff201af5dc5564e587258dc411e623b95ca52
Time: 2016-04-19
Author: s.p.l.meesters@tue.nl
File Name: dipy/tracking/tests/test_fbc.py
Class Name:
Method Name: test_fbc


Project Name: pandas-dev/pandas
Commit Name: 8051248bedd7387babba24c5756c286987c42eb1
Time: 2021-02-21
Author: jbrockmendel@gmail.com
File Name: asv_bench/benchmarks/hash_functions.py
Class Name:
Method Name: setup


Project Name: pandas-dev/pandas
Commit Name: 5a7514ccb18a3a506d453dd048c665c33835ee56
Time: 2020-12-11
Author: jbrockmendel@gmail.com
File Name: pandas/tests/indexes/categorical/test_indexing.py
Class Name: TestGetIndexer
Method Name: test_get_indexer_non_unique