Commit a4a1c61a authored by Reimar H Leike's avatar Reimar H Leike
Browse files

finally fixed test of get_signal_variance

parent 450cb7c0
...@@ -34,4 +34,4 @@ def test_get_signal_variance(): ...@@ -34,4 +34,4 @@ def test_get_signal_variance():
t = np.zeros_like(k) t = np.zeros_like(k)
t[k==0] = 1. t[k==0] = 1.
return t return t
assert_equal(ift.get_signal_variance(spec2, hspace), 1/3.) assert_equal(ift.get_signal_variance(spec2, hspace), 1/9.)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment