Commit 1762da4a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

changes for NIFTy_7, round 1

parent fe178ade
......@@ -99,4 +99,4 @@ from .linearization import Linearization
from .operator_spectrum import operator_spectrum
# We deliberately don't set __all__ here, because we don't want people to do a
# "from nifty6 import *"; that would swamp the global namespace.
# "from nifty7 import *"; that would swamp the global namespace.
......@@ -24,7 +24,7 @@ class GLSpace(StructuredDomain):
"""Represents a 2-sphere with Gauss-Legendre pixelization.
Its harmonic partner domain is the
:class:`~nifty6.domains.lm_space.LMSpace`.
:class:`~nifty7.domains.lm_space.LMSpace`.
Parameters
----------
......
......@@ -24,7 +24,7 @@ class HPSpace(StructuredDomain):
"""Represents 2-sphere with HEALPix discretization.
Its harmonic partner domain is the
:class:`~nifty6.domains.lm_space.LMSpace`.
:class:`~nifty7.domains.lm_space.LMSpace`.
Parameters
----------
......
......@@ -24,8 +24,8 @@ from .structured_domain import StructuredDomain
class LMSpace(StructuredDomain):
"""Represents a set of spherical harmonic coefficients.
Its harmonic partner spaces are :class:`~nifty6.domains.hp_space.HPSpace`
and :class:`~nifty6.domains.gl_space.GLSpace`.
Its harmonic partner spaces are :class:`~nifty7.domains.hp_space.HPSpace`
and :class:`~nifty7.domains.gl_space.GLSpace`.
Parameters
----------
......@@ -152,7 +152,7 @@ class LMSpace(StructuredDomain):
return self._mmax
def get_default_codomain(self):
"""Returns a :class:`~nifty6.domains.gl_space.GLSpace` object, which is
"""Returns a :class:`~nifty7.domains.gl_space.GLSpace` object, which is
capable of storing an accurate representation of data residing on
`self`.
......
......@@ -20,7 +20,7 @@ from .domain import Domain
class UnstructuredDomain(Domain):
"""A :class:`~nifty6.domains.domain.Domain` subclass for spaces with no
"""A :class:`~nifty7.domains.domain.Domain` subclass for spaces with no
associated geometry.
Typically used for data spaces.
......
......@@ -654,10 +654,10 @@ class Field(Operator):
return np.sqrt(self.s_var())
def __repr__(self):
return "<nifty6.Field>"
return "<nifty7.Field>"
def __str__(self):
return "nifty6.Field instance\n- domain = " + \
return "nifty7.Field instance\n- domain = " + \
self._domain.__str__() + \
"\n- val = " + repr(self._val)
......
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