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
a4a1c61a
Commit
a4a1c61a
authored
Jan 23, 2019
by
Reimar H Leike
Browse files
finally fixed test of get_signal_variance
parent
450cb7c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_sugar.py
View file @
a4a1c61a
...
...
@@ -34,4 +34,4 @@ def test_get_signal_variance():
t
=
np
.
zeros_like
(
k
)
t
[
k
==
0
]
=
1.
return
t
assert_equal
(
ift
.
get_signal_variance
(
spec2
,
hspace
),
1
/
3
.
)
assert_equal
(
ift
.
get_signal_variance
(
spec2
,
hspace
),
1
/
9
.
)
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