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
f8b6fd67
Commit
f8b6fd67
authored
May 14, 2017
by
Pumpe, Daniel (dpumpe)
Browse files
tests for SmoothingOperator
parent
b85f0c75
Pipeline
#12403
failed with stage
in 4 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_operators/test_smoothing_operator.py
View file @
f8b6fd67
...
...
@@ -5,6 +5,8 @@ from numpy.testing import assert_equal,\
assert_approx_equal
from
nifty
import
Field
,
\
RGSpace
,
\
PowerSpace
,
\
SmoothingOperator
from
test.common
import
generate_spaces
...
...
@@ -13,7 +15,7 @@ from itertools import product
from
test.common
import
expand
class
SmoothingOperator_Tests
(
unittest
.
TestCase
):
spaces
=
generate_spaces
()
spaces
=
[
RGSpace
(
100
),
PowerSpace
(
RGSpace
((
40
,
40
),
harmonic
=
True
))]
@
expand
(
product
(
spaces
,
[
0.
,
.
5
,
5.
],
[
True
,
False
]))
def
test_property
(
self
,
space
,
sigma
,
log_distances
):
...
...
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