MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / Fn

Function Fn

code/optim/bridge_de.py:32–33  ·  view source on GitHub ↗
(t, A, B, C, D)

Source from the content-addressed store, hash-verified

30import numpy as np
31from scipy.optimize import differential_evolution
32def Fn(t, A, B, C, D):
33 return A*np.exp(-B*t)*np.sin(C*t) + D
34def func(parameters, *data):
35 A, B, C, D = parameters
36 Fn, t, Y = data

Callers 3

funcFunction · 0.70
compute_ABCDFunction · 0.70
innerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected