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
3909e1f7
Commit
3909e1f7
authored
Aug 21, 2019
by
Philipp Arras
Browse files
Fixup
parent
4bb9f82e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.py
View file @
3909e1f7
...
...
@@ -296,7 +296,7 @@ def test_against_wdft(nxdirty, nydirty, epsilon, nchan, nrow):
if
len
(
jj
)
==
0
:
continue
dd
=
conf
.
grid2dirty_c
(
ng
.
vis2grid_c
(
bl
,
conf
,
jj
,
bl
.
ms2vis
(
ms
,
jj
)))
res0
+=
conf
.
apply_wscreen
(
dd
,
ww
,
adjoint
=
Tru
e
).
real
res0
+=
conf
.
apply_wscreen
(
dd
,
ww
,
adjoint
=
Fals
e
).
real
# Compute dft with w term
x
,
y
=
np
.
meshgrid
(
*
[
-
ss
/
2
+
np
.
arange
(
ss
)
for
ss
in
[
nxdirty
,
nydirty
]],
...
...
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