Lines Matching full:denominator
29 def time_wrapping(molecule, denominator, data): argument
30 """Generate (molecule/denominator)x speed data."""
33 for j in range((int(len(data) / molecule) - 1) * denominator)]
36 for k in range(denominator):
37 tmp_data[denominator * i +
38 k][j] = (data[molecule * i + k][j] * (denominator - k) +
39 data[molecule * i + k + 1][j] * k) / denominator
66 for molecule, denominator in fractions:
67 new_data.append(time_wrapping(molecule, denominator, data))
70 for molecule, denominator in fractions:
72 (np.array(data, dtype=np.float32) * molecule / denominator).tolist())