Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
nifty_gridder
Commits
9b17aae0
Commit
9b17aae0
authored
Sep 03, 2019
by
Martin Reinecke
Browse files
fix
parent
fd55bdb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.py
View file @
9b17aae0
...
...
@@ -374,7 +374,7 @@ def test_wgridder_against_wdft(nxdirty, nydirty, nchan, nrow, fov, epsilon):
ms
=
np
.
random
.
rand
(
nrow
,
nchan
)
-
0.5
+
1j
*
(
np
.
random
.
rand
(
nrow
,
nchan
)
-
0.5
)
vis
=
bl
.
ms2vis
(
ms
,
idx
)
uvw
=
bl
.
effectiveuvw
(
idx
)
res0
=
ng
.
vis2dirty
_wstack
(
bl
,
conf
,
idx
,
vis
)
res0
=
ng
.
vis2dirty
(
bl
,
conf
,
idx
,
vis
,
do_wstacking
=
True
)
res1
=
_dft
(
uvw
,
vis
,
conf
,
True
)
assert_
(
_l2error
(
res0
,
res1
)
<
epsilon
)
...
...
Write
Preview
Markdown
is supported
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