Commit 0a9153e1 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

nifty->nifty2go

parent a40cbebf
......@@ -18,23 +18,18 @@
from setuptools import setup, find_packages
import numpy
exec(open('nifty2go/version.py').read())
exec(open('nifty/version.py').read())
setup(name="ift_nifty",
setup(name="nifty2go",
version=__version__,
author="Theo Steininger",
author="Theo Steininger, Martin Reinecke",
author_email="theos@mpa-garching.mpg.de",
description="Numerical Information Field Theory",
url="http://www.mpa-garching.mpg.de/ift/nifty/",
packages=find_packages(),
package_dir={"nifty": "nifty"},
package_dir={"nifty2go": "nifty2go"},
zip_safe=False,
include_dirs=[numpy.get_include()],
dependency_links=[],
install_requires=[],
license="GPLv3",
classifiers=[
"Development Status :: 4 - Beta",
......
......@@ -18,7 +18,7 @@
from builtins import str
from parameterized import parameterized
from nifty import Space, RGSpace, LMSpace, HPSpace, GLSpace, PowerSpace
from nifty2go import Space, RGSpace, LMSpace, HPSpace, GLSpace, PowerSpace
import numpy as np
np.seterr(all='raise',under='ignore')
......
......@@ -26,7 +26,7 @@ from nose.plugins.skip import SkipTest
from itertools import product
from nifty import Field,\
from nifty2go import Field,\
RGSpace,\
LMSpace,\
PowerSpace
......
from nifty import *
from nifty2go import *
# This tests if it is possible to import all of Nifty's methods.
# Experience shows this is not always possible.
......
......@@ -3,7 +3,7 @@ import unittest
import numpy as np
from numpy.testing import assert_allclose
import nifty as ift
import nifty2go as ift
from itertools import product
from test.common import expand
......
......@@ -4,7 +4,7 @@ from numpy.testing import assert_equal,\
assert_allclose,\
assert_approx_equal
from nifty import Field,\
from nifty2go import Field,\
DiagonalOperator,\
ComposedOperator
......
......@@ -6,7 +6,7 @@ from numpy.testing import assert_equal,\
assert_allclose,\
assert_approx_equal
from nifty import Field,\
from nifty2go import Field,\
DiagonalOperator
from test.common import generate_spaces
......
......@@ -21,7 +21,7 @@ import unittest
import numpy as np
from numpy.testing import assert_equal,\
assert_allclose
from nifty import Field,\
from nifty2go import Field,\
RGSpace,\
LMSpace,\
HPSpace,\
......
......@@ -18,7 +18,7 @@
import unittest
import numpy as np
import nifty as ift
import nifty2go as ift
from numpy.testing import assert_allclose
from itertools import product
from test.common import expand, marco_binbounds
......
......@@ -3,7 +3,7 @@ import unittest
import numpy as np
from numpy.testing import assert_approx_equal
from nifty import Field,\
from nifty2go import Field,\
RGSpace,\
ResponseOperator
......
......@@ -20,7 +20,7 @@ import unittest
import numpy as np
from numpy.testing import assert_equal, assert_allclose
from nifty import Field,\
from nifty2go import Field,\
RGSpace,\
PowerSpace,\
FFTSmoothingOperator,\
......
......@@ -22,7 +22,7 @@ import itertools
from numpy.testing import assert_, assert_equal, assert_raises,\
assert_almost_equal
from nifty import GLSpace
from nifty2go import GLSpace
from test.common import expand
# [nlat, nlon, expected]
......
......@@ -22,7 +22,7 @@ import numpy as np
from numpy.testing import assert_, assert_equal, assert_raises,\
assert_almost_equal
from nifty import HPSpace
from nifty2go import HPSpace
from test.common import expand
# [nside, expected]
......
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