6 lines
111 B
Python
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
|