Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lorenz Halt
ilc
Commits
f4678aa3
Commit
f4678aa3
authored
Sep 10, 2021
by
Lorenz Halt
🔀
Browse files
normalize error_convergence by number of sample s
parent
78c0240e
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/ilc_lib/ilc_lib.py
View file @
f4678aa3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment