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
7694232c
Commit
7694232c
authored
Sep 02, 2019
by
Martin Reinecke
Browse files
do not test single precision for small epsilon
parent
6a6b4293
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.py
View file @
7694232c
...
...
@@ -84,10 +84,12 @@ def test_adjointness_wgridding(nxdirty, nydirty, nrow, nchan, epsilon):
@
pmp
(
"nydirty"
,
(
128
,
250
))
@
pmp
(
"nrow"
,
(
1
,
10
,
10000
))
@
pmp
(
"nchan"
,
(
1
,
10
,
100
))
@
pmp
(
"epsilon"
,
(
1e-2
,
1e-3
,
1
e-5
,
1e-6
,
1e-7
,
2e-13
))
@
pmp
(
"epsilon"
,
(
1e-2
,
1e-3
,
5
e-5
,
1e-6
,
1e-7
,
2e-13
))
@
pmp
(
"singleprec"
,
(
True
,
False
))
@
pmp
(
"wstacking"
,
(
True
,
False
))
def
test_adjointness_wgridding_highlevel
(
nxdirty
,
nydirty
,
nrow
,
nchan
,
epsilon
,
singleprec
,
wstacking
):
if
singleprec
and
epsilon
<
5e-5
:
return
np
.
random
.
seed
(
42
)
pixsizex
=
np
.
pi
/
180
/
60
/
nxdirty
*
0.2398
pixsizey
=
np
.
pi
/
180
/
60
/
nxdirty
...
...
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