pytest/pytestpavement/versuche/fit.py

6 lines
111 B
Python
Raw Normal View History

2022-09-27 08:18:52 +02:00
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