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
Commits
687aa8f9
Commit
687aa8f9
authored
May 20, 2020
by
Martin Reinecke
Browse files
Merge branch 'test_extreme_cases_nft' into 'NIFTy_6'
Testing gridder for almost zero and zero baselines See merge request
!483
parents
a2dee497
2bb4a488
Pipeline
#75311
passed with stages
in 8 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_operators/test_nft.py
View file @
687aa8f9
...
...
@@ -38,6 +38,9 @@ def test_gridding(nu, nv, N, eps):
vis
=
(
ift
.
random
.
current_rng
().
standard_normal
(
N
)
+
1j
*
ift
.
random
.
current_rng
().
standard_normal
(
N
))
if
N
>
2
:
uv
[
-
1
]
=
0
uv
[
-
2
]
=
1e-5
# Nifty
dom
=
ift
.
RGSpace
((
nu
,
nv
),
distances
=
(
0.2
,
1.12
))
dstx
,
dsty
=
dom
.
distances
...
...
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