Skip to content
Snippets Groups Projects
Commit ae9a3c5a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

another try

parent 0b8d7056
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -120,12 +120,12 @@ class FFTOperatorTests(unittest.TestCase):
@expand(product([128, 256],
[np.float64, np.float32, np.complex64, np.complex128]))
def test_dotsht2(self, lm, tp):
tol = _get_rtol(tp)
tol = 10*_get_rtol(tp)
a = ift.LMSpace(lmax=lm)
b = ift.HPSpace(nside=lm//2)
fft = ift.FFTOperator(domain=a, target=b)
inp = ift.Field.from_random(domain=a, random_type='normal',
std=1, mean=0.1, dtype=tp)
std=1, mean=0, dtype=tp)
out = fft.times(inp)
v1 = np.sqrt(out.vdot(out))
v2 = np.sqrt(inp.vdot(fft.adjoint_times(out)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment