Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
nifty_gridder
Commits
4bb9f82e
Commit
4bb9f82e
authored
Aug 21, 2019
by
Philipp Arras
Browse files
Better plots
parent
11e0ccd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.py
View file @
4bb9f82e
...
...
@@ -329,7 +329,7 @@ def test_against_wdft(nxdirty, nydirty, epsilon, nchan, nrow):
ax
=
fig
.
add_subplot
(
2
,
2
,
3
)
ax
.
set_title
(
'relative error'
)
im
=
ax
.
imshow
(
np
.
abs
(
res1
-
res0
)
/
res1
)
im
=
ax
.
imshow
(
np
.
abs
(
res1
-
res0
)
/
np
.
max
([
np
.
abs
(
res0
),
np
.
abs
(
res1
)
]))
fig
.
colorbar
(
im
,
ax
=
ax
)
ax
=
fig
.
add_subplot
(
2
,
2
,
4
)
...
...
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