Commit 9b47dc10 authored by Philipp Arras's avatar Philipp Arras
Browse files

nifty7 -> nifty8

parent 3a83451d
......@@ -17,7 +17,7 @@
from numpy.testing import assert_allclose, assert_equal
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -19,8 +19,8 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
from nifty7.library.variational_models import DiagonalSelector
import nifty8 as ift
from nifty8.library.variational_models import DiagonalSelector
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -19,8 +19,8 @@
import numpy as np
from numpy.testing import assert_allclose
import nifty7 as ift
from nifty7.extra import check_linear_operator, check_operator
import nifty8 as ift
from nifty8.extra import check_linear_operator, check_operator
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -18,7 +18,7 @@
import numpy as np
import pytest
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......@@ -76,7 +76,7 @@ def energy_tester(pos, get_noisy_data, energy_initializer, assume_diagonal=False
FA = ift.FieldAdapter(dom, k)
ops.append(FA.adjoint @ FA)
realizer = ift.utilities.my_sum(ops)
from nifty7.operator_spectrum import _DomRemover
from nifty8.operator_spectrum import _DomRemover
flattener = _DomRemover(realizer.target)
op = flattener @ realizer
pos = op(pos)
......
......@@ -19,8 +19,8 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
from nifty7.library.variational_models import GaussianEntropy
import nifty8 as ift
from nifty8.library.variational_models import GaussianEntropy
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -18,7 +18,7 @@
import pytest
import nifty7 as ift
import nifty8 as ift
from ..common import setup_function, teardown_function
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -18,7 +18,7 @@
import numpy as np
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import setup_function, teardown_function
......
......@@ -20,7 +20,7 @@ import pytest
from numpy.testing import assert_allclose
from scipy.stats import invgamma, norm
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -18,7 +18,7 @@
import numpy as np
import pytest
import nifty7 as ift
import nifty8 as ift
pmp = pytest.mark.parametrize
......
......@@ -17,7 +17,7 @@
import pytest
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -19,8 +19,8 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
from nifty7.library.variational_models import LowerTriangularInserter
import nifty8 as ift
from nifty8.library.variational_models import LowerTriangularInserter
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
from .test_adjoint import _h_spaces, _p_spaces, _pow_spaces
......
......@@ -18,7 +18,7 @@
import numpy as np
import pytest
import nifty7 as ift
import nifty8 as ift
from ..common import setup_function, teardown_function
......
......@@ -18,7 +18,7 @@
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import setup_function, teardown_function
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import setup_function, teardown_function
......
......@@ -19,7 +19,7 @@ import numpy as np
import pytest
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
......@@ -17,7 +17,7 @@
import pytest
import nifty7 as ift
import nifty8 as ift
from ..common import setup_function, teardown_function
......
......@@ -17,7 +17,7 @@
from numpy.testing import assert_allclose
import nifty7 as ift
import nifty8 as ift
from ..common import list2fixture, setup_function, teardown_function
......
Supports Markdown
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