1a8468988ae35b6d3814288018fc2f9056e74974,dipy/reconst/gqi.py,GeneralizedQSampling,__init__,#GeneralizedQSampling#Any#Any#Any#Any#Any#Any#Any#,54
Before Change
if mask==None:
for (i,s) in enumerate(S):
//Q to ODF
odf=np.dot(s,q2odf_params)
peaks,inds=rp.peak_finding(odf,odf_faces)
glob_norm_param=max(np.max(odf),glob_norm_param)
//remove the isotropic part
peaks = peaks - np.min(odf)
l=min(len(peaks),5)
QA[i][:l] = peaks[:l]
After Change
msk=mask.ravel().copy()
if mask == None:
mask=np.ones(datashape[:1])
msk=mask.ravel().copy()
glob_norm_param = 0
self.q2odf_params=q2odf_params
//Calculate Quantitative Anisotropy and
//find the peaks and the indices
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances 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__
Project Name: brian-team/brian2
Commit Name: 0ac2bf1c2cafee4cc9555c9f09a17143b05b1a88
Time: 2014-03-06
Author: dan.goodman@ens.fr
File Name: brian2/synapses/spikequeue.py
Class Name: SpikeQueue
Method Name: prepare
Project Name: luispedro/mahotas
Commit Name: 8212d47a90e0f90ba0d264d062880ee866b4808f
Time: 2015-06-26
Author: luis@luispedro.org
File Name: mahotas/bbox.py
Class Name:
Method Name: bbox