Searched refs:molecule (Results 1 – 1 of 1) sorted by relevance
29 def time_wrapping(molecule, denominator, data): argument33 for j in range((int(len(data) / molecule) - 1) * denominator)]34 for i in range(int(len(data) / molecule) - 1):38 k][j] = (data[molecule * i + k][j] * (denominator - k) +39 data[molecule * i + k + 1][j] * k) / denominator66 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())