Commit 253d561a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

more relative includes

parent 86f0721f
Pipeline #14426 failed with stage
in 4 minutes and 50 seconds
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
from __future__ import division from __future__ import division
import numpy as np import numpy as np
from d2o import distributed_data_object from d2o import distributed_data_object
from nifty.field import Field from .field import Field
__all__ = ['cos', 'sin', 'cosh', 'sinh', 'tan', 'tanh', 'arccos', 'arcsin', __all__ = ['cos', 'sin', 'cosh', 'sinh', 'tan', 'tanh', 'arccos', 'arcsin',
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
from __future__ import division from __future__ import division
import abc import abc
from nifty.nifty_meta import NiftyMeta from .nifty_meta import NiftyMeta
from keepers import Loggable,\ from keepers import Loggable,\
Versionable Versionable
......
...@@ -30,14 +30,14 @@ from keepers import Versionable,\ ...@@ -30,14 +30,14 @@ from keepers import Versionable,\
from d2o import distributed_data_object,\ from d2o import distributed_data_object,\
STRATEGIES as DISTRIBUTION_STRATEGIES STRATEGIES as DISTRIBUTION_STRATEGIES
from nifty.config import nifty_configuration as gc from .config import nifty_configuration as gc
from nifty.domain_object import DomainObject from .domain_object import DomainObject
from nifty.spaces.power_space import PowerSpace from .spaces.power_space import PowerSpace
import nifty.nifty_utilities as utilities from . import nifty_utilities as utilities
from nifty.random import Random from .random import Random
from functools import reduce from functools import reduce
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from builtins import range from builtins import range
from nifty.operators.linear_operator import LinearOperator from ..linear_operator import LinearOperator
class ComposedOperator(LinearOperator): class ComposedOperator(LinearOperator):
......
...@@ -23,10 +23,10 @@ import numpy as np ...@@ -23,10 +23,10 @@ import numpy as np
from d2o import distributed_data_object,\ from d2o import distributed_data_object,\
STRATEGIES as DISTRIBUTION_STRATEGIES STRATEGIES as DISTRIBUTION_STRATEGIES
from nifty.basic_arithmetics import log as nifty_log from ...basic_arithmetics import log as nifty_log
from nifty.config import nifty_configuration as gc from ...config import nifty_configuration as gc
from nifty.field import Field from ...field import Field
from nifty.operators.endomorphic_operator import EndomorphicOperator from ..endomorphic_operator import EndomorphicOperator
class DiagonalOperator(EndomorphicOperator): class DiagonalOperator(EndomorphicOperator):
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
import abc import abc
from nifty.operators.linear_operator import LinearOperator from ..linear_operator import LinearOperator
class EndomorphicOperator(LinearOperator): class EndomorphicOperator(LinearOperator):
......
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
import numpy as np import numpy as np
import nifty.nifty_utilities as utilities from ... import nifty_utilities as utilities
from nifty.spaces import RGSpace,\ from ...spaces import RGSpace,\
GLSpace,\ GLSpace,\
HPSpace,\ HPSpace,\
LMSpace LMSpace
from nifty.operators.linear_operator import LinearOperator from ..linear_operator import LinearOperator
from .transformations import RGRGTransformation,\ from .transformations import RGRGTransformation,\
LMGLTransformation,\ LMGLTransformation,\
LMHPTransformation,\ LMHPTransformation,\
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
import numpy as np import numpy as np
from nifty.config import dependency_injector as gdi from ....config import dependency_injector as gdi
from nifty import GLSpace, LMSpace from .... import GLSpace, LMSpace
from .slicing_transformation import SlicingTransformation from .slicing_transformation import SlicingTransformation
from . import lm_transformation_helper from . import lm_transformation_helper
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
import numpy as np import numpy as np
from nifty.config import dependency_injector as gdi from ....config import dependency_injector as gdi
from nifty import HPSpace, LMSpace from .... import HPSpace, LMSpace
from .slicing_transformation import SlicingTransformation from .slicing_transformation import SlicingTransformation
from . import lm_transformation_helper from . import lm_transformation_helper
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
import numpy as np import numpy as np
from nifty.config import dependency_injector as gdi from ....config import dependency_injector as gdi
from nifty import GLSpace, LMSpace from .... import GLSpace, LMSpace
from .slicing_transformation import SlicingTransformation from .slicing_transformation import SlicingTransformation
from . import lm_transformation_helper from . import lm_transformation_helper
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
import numpy as np import numpy as np
from nifty.config import dependency_injector as gdi from ....config import dependency_injector as gdi
from nifty import HPSpace, LMSpace from .... import HPSpace, LMSpace
from .slicing_transformation import SlicingTransformation from .slicing_transformation import SlicingTransformation
from . import lm_transformation_helper from . import lm_transformation_helper
......
...@@ -22,8 +22,8 @@ import warnings ...@@ -22,8 +22,8 @@ import warnings
import numpy as np import numpy as np
from d2o import distributed_data_object, STRATEGIES from d2o import distributed_data_object, STRATEGIES
from nifty.config import dependency_injector as gdi from ....config import dependency_injector as gdi
import nifty.nifty_utilities as utilities from .... import nifty_utilities as utilities
from keepers import Loggable from keepers import Loggable
from functools import reduce from functools import reduce
......
...@@ -20,7 +20,7 @@ from __future__ import division ...@@ -20,7 +20,7 @@ from __future__ import division
import numpy as np import numpy as np
from .transformation import Transformation from .transformation import Transformation
from .rg_transforms import MPIFFT, SerialFFT from .rg_transforms import MPIFFT, SerialFFT
from nifty import RGSpace, nifty_configuration from .... import RGSpace, nifty_configuration
class RGRGTransformation(Transformation): class RGRGTransformation(Transformation):
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
import abc import abc
import numpy as np import numpy as np
import nifty.nifty_utilities as utilities from .... import nifty_utilities as utilities
from .transformation import Transformation from .transformation import Transformation
......
...@@ -21,8 +21,8 @@ from __future__ import division ...@@ -21,8 +21,8 @@ from __future__ import division
import itertools import itertools
import numpy as np import numpy as np
from nifty.spaces.space import Space from ..space import Space
from nifty.config import dependency_injector as gdi from ...config import dependency_injector as gdi
pyHealpix = gdi.get('pyHealpix') pyHealpix = gdi.get('pyHealpix')
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
from __future__ import division from __future__ import division
import numpy as np import numpy as np
from nifty.spaces.space import Space from ..space import Space
class HPSpace(Space): class HPSpace(Space):
......
...@@ -20,7 +20,7 @@ from __future__ import division ...@@ -20,7 +20,7 @@ from __future__ import division
import numpy as np import numpy as np
from nifty.spaces.space import Space from ..space import Space
from d2o import arange from d2o import arange
......
...@@ -23,7 +23,7 @@ import d2o ...@@ -23,7 +23,7 @@ import d2o
from .power_index_factory import PowerIndexFactory from .power_index_factory import PowerIndexFactory
from nifty.spaces.space import Space from ..space import Space
from functools import reduce from functools import reduce
......
...@@ -36,7 +36,7 @@ import numpy as np ...@@ -36,7 +36,7 @@ import numpy as np
from d2o import distributed_data_object,\ from d2o import distributed_data_object,\
STRATEGIES as DISTRIBUTION_STRATEGIES STRATEGIES as DISTRIBUTION_STRATEGIES
from nifty.spaces.space import Space from ..space import Space
from functools import reduce from functools import reduce
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
import abc import abc
from nifty.domain_object import DomainObject from ...domain_object import DomainObject
class Space(DomainObject): class Space(DomainObject):
......
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