2602d54f63d7c96fda4caff1384e1e10116aa96e,dipy/reconst/dandelion.py,SphericalDandelion,spherical_diffusivity,#SphericalDandelion#Any#,86
Before Change
final_sphere=np.zeros((len(d),self.odf_vertices.shape[0]))
for i in range(len(d)):
final_sphere[i]=d[i]*np.abs(np.dot(self.gradients[i+1],self.odf_vertices.T)**(2))
return np.max(final_sphere,axis=0)
def xa(self):
return self.XA
After Change
d=np.zeros(d.shape)
d[0]=12
//d=12*np.ones(d.shape)
o=np.ones(d.shape)
finald=self.koukou(d)
finalo=self.koukou(o)
//print finald.shape,finalo.shape
return finald/finalo
def koukou(self,d):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: nipy/dipy
Commit Name: 2602d54f63d7c96fda4caff1384e1e10116aa96e
Time: 2011-02-10
Author: garyfallidis@gmail.com
File Name: dipy/reconst/dandelion.py
Class Name: SphericalDandelion
Method Name: spherical_diffusivity
Project Name: CellProfiler/CellProfiler
Commit Name: 908308b59f91ccabd332926268a1ac507a67e82f
Time: 2016-11-03
Author: allen.goodman@icloud.com
File Name: cellprofiler/modules/watershed.py
Class Name: Watershed
Method Name: run
Project Name: nipy/dipy
Commit Name: 1a8468988ae35b6d3814288018fc2f9056e74974
Time: 2011-07-21
Author: garyfallidis@gmail.com
File Name: dipy/reconst/gqi.py
Class Name: GeneralizedQSampling
Method Name: __init__