Commit 91f480e9 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

5->6

parent 14052dd3
......@@ -17,7 +17,7 @@
from numpy.testing import assert_allclose
import nifty5 as ift
import nifty6 as ift
import numpy as np
from ..common import list2fixture
......
......@@ -19,7 +19,7 @@ import pytest
from numpy.testing import assert_allclose
from numpy.random import seed
import nifty5 as ift
import nifty6 as ift
@pytest.mark.parametrize('sspace', [
......
......@@ -17,7 +17,7 @@
from numpy.testing import assert_allclose, assert_equal
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_, assert_allclose
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -18,7 +18,7 @@
import numpy as np
import pytest
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_
import nifty5 as ift
import nifty6 as ift
np.random.seed(40)
......
......@@ -17,7 +17,7 @@
from numpy.testing import assert_allclose
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -18,7 +18,7 @@
import numpy as np
import pytest
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -17,11 +17,11 @@
from numpy.testing import assert_allclose, assert_equal
import nifty5 as ift
import nifty6 as ift
def test_simplification():
from nifty5.operators.operator import _ConstantOperator
from nifty6.operators.operator import _ConstantOperator
f1 = ift.Field.full(ift.RGSpace(10), 2.)
op = ift.FFTOperator(f1.domain)
_, op2 = op.simplify_for_constant_input(f1)
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty5 as ift
import nifty6 as ift
from ..common import list2fixture
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_
import nifty5 as ift
import nifty6 as ift
@pytest.mark.parametrize('sp', [
......
......@@ -17,7 +17,7 @@
import numpy as np
import nifty5 as ift
import nifty6 as ift
def test_plots():
......
......@@ -22,7 +22,7 @@ import pytest
from numpy.testing import (assert_, assert_almost_equal, assert_equal,
assert_raises)
from nifty5 import GLSpace
from nifty6 import GLSpace
pmp = pytest.mark.parametrize
......
......@@ -20,7 +20,7 @@ import pytest
from numpy.testing import (assert_, assert_almost_equal, assert_equal,
assert_raises)
from nifty5 import HPSpace
from nifty6 import HPSpace
pmp = pytest.mark.parametrize
# [nside, expected]
......
......@@ -20,7 +20,7 @@ from types import LambdaType
import pytest
from numpy.testing import assert_
import nifty5 as ift
import nifty6 as ift
pmp = pytest.mark.parametrize
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_, assert_allclose, assert_equal, assert_raises
import nifty5 as ift
import nifty6 as ift
pmp = pytest.mark.parametrize
# [lmax, expected]
......
......@@ -21,7 +21,7 @@ import numpy as np
import pytest
from numpy.testing import assert_, assert_allclose, assert_equal, assert_raises
import nifty5 as ift
import nifty6 as ift
pmp = pytest.mark.parametrize
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_, assert_allclose, assert_equal
import nifty5 as ift
import nifty6 as ift
pmp = pytest.mark.parametrize
# [shape, distances, harmonic, expected]
......
......@@ -18,7 +18,7 @@
import numpy as np
from numpy.testing import assert_equal
import nifty5 as ift
import nifty6 as ift
def test_get_signal_variance():
......
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