In contrast to unstructured domains, these domains have an assigned geometry.

In contrast to unstructured domains, these domains have an assigned geometry.

NIFTy requires them to provide the volume elements of their grid cells.

NIFTy requires them to provide the volume elements of their grid cells.

The additional methods are specified in the abstract class

The additional methods are specified in the abstract class

...

@@ -81,15 +87,17 @@ The additional methods are specified in the abstract class

...

@@ -81,15 +87,17 @@ The additional methods are specified in the abstract class

NIFTy comes with several concrete subclasses of :class:`StructuredDomain`:

NIFTy comes with several concrete subclasses of :class:`StructuredDomain`:

- :class:`RGSpace` represents a regular Cartesian grid with an arbitrary

.. currentmodule:: nifty5.domains

- :class:`rg_space.RGSpace` represents a regular Cartesian grid with an arbitrary

number of dimensions, which is supposed to be periodic in each dimension.

number of dimensions, which is supposed to be periodic in each dimension.

- :class:`HPSpace` and :class:`GLSpace` describe pixelisations of the

- :class:`hp_space.HPSpace` and :class:`gl_space.GLSpace` describe pixelisations of the

2-sphere; their counterpart in harmonic space is :class:`LMSpace`, which

2-sphere; their counterpart in harmonic space is :class:`lm_space.LMSpace`, which

contains spherical harmonic coefficients.

contains spherical harmonic coefficients.

- :class:`PowerSpace` is used to describe one-dimensional power spectra.

- :class:`power_space.PowerSpace` is used to describe one-dimensional power spectra.

Among these, :class:`RGSpace` can be harmonic or not (depending on constructor arguments), :class:`GLSpace`, :class:`HPSpace`, and :class:`PowerSpace` are

Among these, :class:`rg_space.RGSpace` can be harmonic or not (depending on constructor arguments), :class:`gl_space.GLSpace`, :class:`hp_space.HPSpace`, and :class:`power_space.PowerSpace` are

pure position domains (i.e. nonharmonic), and :class:`LMSpace` is always

pure position domains (i.e. nonharmonic), and :class:`lm_space.LMSpace` is always