a731dbfb00e17f59b55d0b36a14f69c65e9a849a,dipy/reconst/shm.py,,normalize_data,#Any#Any#Any#Any#,388
Before Change
dwi = asarray(dwi, "float")
b0 = data[..., where_b0].mean(-1)
b0 = b0[..., None]
b0 = asarray(b0, "float")
maximum(dwi, min_signal, dwi)
maximum(b0, min_signal, b0)
dwi /= b0
After Change
out.clip(min_signal, out=out)
b0 = out[..., where_b0].mean(-1)
b0 = b0.reshape(b0.shape + (1,))
out /= b0
return out
def gfa(samples):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: nipy/dipy
Commit Name: a731dbfb00e17f59b55d0b36a14f69c65e9a849a
Time: 2012-04-05
Author: Bago.Amirbekian@ucsf.edu
File Name: dipy/reconst/shm.py
Class Name:
Method Name: normalize_data
Project Name: horovod/horovod
Commit Name: 7d90bd15cf2112db4881429c909aa6104749b870
Time: 2018-12-10
Author: fardin.abdi@gmail.com
File Name: examples/tensorflow_mnist_estimator.py
Class Name:
Method Name: main
Project Name: SPFlow/SPFlow
Commit Name: 1facee330afb8fbd3f1eda762d0954b32863d2c3
Time: 2018-06-19
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/tests/old/test_tf.py
Class Name:
Method Name: