pytest/pytestpavement/versuche/fit.py
2022-09-27 08:18:52 +02:00

6 lines
111 B
Python

import numpy as np
def model_cos(t, a, b, d, e, f):
return a * np.cos(2 * np.pi * f * t + b) + e * t + d