97a543976472f88b7922cc8f8ef3d7c0b6cd3dee,beamfpy/sources.py,PointSource,result,#PointSource#Any#,146
Before Change
out = fft.ifft(signal[:, newaxis]*delays, axis=0).real/rm
i = 0
while i < self.numsamples:
yield out[i:i+num]
i += num
class MovingPointSource( PointSource ):
point source class for simulations that moves along a given trajectory
After Change
n = self.numsamples
while n:
n -= 1
try:
out[i] = signal[array(0.5+ind*self.up, dtype=long)]/rm
ind += 1.
i += 1
if i == num:
yield out
i = 0
except IndexError:
break
yield out[:i]
class MovingPointSource( PointSource ):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: acoular/acoular
Commit Name: 97a543976472f88b7922cc8f8ef3d7c0b6cd3dee
Time: 2012-02-06
Author: sarradj@tu-cottbus.de
File Name: beamfpy/sources.py
Class Name: PointSource
Method Name: result
Project Name: mlflow/mlflow
Commit Name: 06e9433720845ab9f12e7ea0d8a8982123f093c6
Time: 2020-12-18
Author: 39497902+dbczumar@users.noreply.github.com
File Name: tests/autologging/fixtures.py
Class Name:
Method Name: test_mode_on
Project Name: mlflow/mlflow
Commit Name: 06e9433720845ab9f12e7ea0d8a8982123f093c6
Time: 2020-12-18
Author: 39497902+dbczumar@users.noreply.github.com
File Name: tests/autologging/fixtures.py
Class Name:
Method Name: test_mode_off