I created a simple model to model a sinewave:
x = np.linspace(0,4, 100) A = 3 f = 2 noise = np.random.normal(scale = 0.1, size=100) model = A * np.sin(f * x)