98c7739b47adec260665c35aae410210b01e5648,pyroomacoustics/SoundSource.py,SoundSource,getDamping,#SoundSource#Any#,80
Before Change
// stack source and all images
dmp = np.array([1.])
for o in xrange(max_order):
dmp = np.concatenate((dmp, self.damping[o]))
return dmp
After Change
def getDamping(self, max_order=None):
if (max_order is None):
max_order = len(np.max(self.orders))
return self.damping[self.orders <= max_order]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: LCAV/pyroomacoustics
Commit Name: 98c7739b47adec260665c35aae410210b01e5648
Time: 2014-11-27
Author: fakufaku@gmail.com
File Name: pyroomacoustics/SoundSource.py
Class Name: SoundSource
Method Name: getDamping
Project Name: LCAV/pyroomacoustics
Commit Name: 98c7739b47adec260665c35aae410210b01e5648
Time: 2014-11-27
Author: fakufaku@gmail.com
File Name: pyroomacoustics/SoundSource.py
Class Name: SoundSource
Method Name: getImages
Project Name: scikit-image/scikit-image
Commit Name: c890a06b4ef71d5827ff9a399e203a37af0191a5
Time: 2018-12-06
Author: devel@sciunto.org
File Name: skimage/exposure/exposure.py
Class Name:
Method Name: _bincount_histogram