Commit f4678aa3 authored by Lorenz Halt's avatar Lorenz Halt 🔀
Browse files

normalize error_convergence by number of sample s

parent 78c0240e
......@@ -128,10 +128,9 @@ def reshape(data, last_duration, new_duration):
def error_convergence(data):
y = np.linalg.norm(data[:,1:], ord=2, axis=0)
y = np.linalg.norm(data[:,1:], ord=2, axis=0)/data.shape[0]
return y
def e_traj(t,t_end):
if t<t_end:
s=1.2/200 *1000/t_end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment