76c4b61e475292df6c780cbb71fa63aa05f6b0ab,dipy/reconst/dti.py,,apparent_diffusion_coef,#Any#Any#,514
Before Change
bvecs = sphere.vertices
mult1 = np.tensordot(bvecs, q_form, (1, len(q_form.shape[:-2])))
transposer = list(np.arange(1, len(q_form.shape[:-2])+1)) + [0, -1]
mult2 = np.dot(np.transpose(mult1, transposer), bvecs.T)
return mult2[..., np.arange(bvecs.shape[0]), np.arange(bvecs.shape[0])]
class TensorModel(object):
Diffusion Tensor
After Change
bvecs = sphere.vertices
D = design_matrix(bvecs.T, np.ones(bvecs.shape[0]))[:, :6]
return -np.dot(lower_triangular(q_form), D.T)
class TensorModel(object):
Diffusion Tensor
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: nipy/dipy
Commit Name: 76c4b61e475292df6c780cbb71fa63aa05f6b0ab
Time: 2013-08-15
Author: arokem@gmail.com
File Name: dipy/reconst/dti.py
Class Name:
Method Name: apparent_diffusion_coef
Project Name: keras-team/keras
Commit Name: cfbaec60c77448e6249f912d4b4d4a8c079f2bcf
Time: 2016-07-16
Author: farizrahman4u@gmail.com
File Name: keras/engine/topology.py
Class Name: Merge
Method Name: get_output_shape_for
Project Name: HyperGAN/HyperGAN
Commit Name: c703c18798e0aa8abbed9ca4ad97039d45637838
Time: 2019-11-02
Author: mikkel@255bits.com
File Name: hypergan/optimizers/experimental/competitive2_optimizer.py
Class Name: CompetitiveOptimizer
Method Name: dot