From 24e5798016a63c06875842280a5f375e1851a439 Mon Sep 17 00:00:00 2001
From: Martin Reinecke
Date: Thu, 18 Jan 2018 11:35:35 +0100
Subject: [PATCH] cosmetics
---
README.md | 26 ++++++++++++-------------
docs/source/conf.py | 16 +++++++--------
docs/source/index.rst | 10 +++++-----
nifty/field.py | 2 +-
nifty/operators/diagonal_operator.py | 4 ++--
nifty/operators/endomorphic_operator.py | 4 ++--
nifty/operators/scaling_operator.py | 4 ++--
nifty/spaces/gl_space.py | 2 +-
nifty/spaces/hp_space.py | 2 +-
nifty/spaces/lm_space.py | 2 +-
nifty/spaces/power_space.py | 2 +-
nifty/spaces/rg_space.py | 2 +-
12 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/README.md b/README.md
index 92632276..0835f1e6 100644
--- a/README.md
+++ b/README.md
@@ -7,12 +7,12 @@ As a consequence, it does not install as package "nifty", but rather as
avoid any conflicts.
-NIFTY - Numerical Information Field Theory
+NIFTy - Numerical Information Field Theory
==========================================
[![build status](https://gitlab.mpcdf.mpg.de/ift/NIFTy/badges/nifty2go/build.svg)](https://gitlab.mpcdf.mpg.de/ift/NIFTy/commits/nifty2go)
[![coverage report](https://gitlab.mpcdf.mpg.de/ift/NIFTy/badges/nifty2go/coverage.svg)](https://gitlab.mpcdf.mpg.de/ift/NIFTy/commits/nifty2go)
-**NIFTY** project homepage:
+**NIFTy** project homepage:
[http://www.mpa-garching.mpg.de/ift/nifty/](http://www.mpa-garching.mpg.de/ift/nifty/)
Summary
@@ -20,29 +20,29 @@ Summary
### Description
-**NIFTY**, "**N**umerical **I**nformation **F**ield **T**heor**y**", is
+**NIFTy**, "**N**umerical **I**nformation **F**ield **T**heor**y**", is
a versatile library designed to enable the development of signal
inference algorithms that operate regardless of the underlying spatial
grid and its resolution. Its object-oriented framework is written in
Python, although it accesses libraries written in C++ and C for
efficiency.
-NIFTY offers a toolkit that abstracts discretized representations of
+NIFTy offers a toolkit that abstracts discretized representations of
continuous spaces, fields in these spaces, and operators acting on
fields into classes. Thereby, the correct normalization of operations on
fields is taken care of automatically without concerning the user. This
allows for an abstract formulation and programming of inference
algorithms, including those derived within information field theory.
-Thus, NIFTY permits its user to rapidly prototype algorithms in 1D, and
+Thus, NIFTy permits its user to rapidly prototype algorithms in 1D, and
then apply the developed code in higher-dimensional settings of real
-world problems. The set of spaces on which NIFTY operates comprises
+world problems. The set of spaces on which NIFTy operates comprises
point sets, *n*-dimensional regular grids, spherical spaces, their
harmonic counterparts, and product spaces constructed as combinations of
those.
### Class & Feature Overview
-The NIFTY library features three main classes: **spaces** that represent
+The NIFTy library features three main classes: **spaces** that represent
certain grids, **fields** that are defined on spaces, and **operators**
that apply to fields.
@@ -108,34 +108,34 @@ command in the repository root:
For a quick start, you can browse through the [informal
introduction](http://www.mpa-garching.mpg.de/ift/nifty/start.html) or
-dive into NIFTY by running one of the demonstrations, e.g.:
+dive into NIFTy by running one of the demonstrations, e.g.:
python demos/wiener_filter_via_curvature.py
Acknowledgement
---------------
-Please acknowledge the use of NIFTY in your publication(s) by using a
+Please acknowledge the use of NIFTy in your publication(s) by using a
phrase such as the following:
> *"Some of the results in this publication have been derived using the
-> NIFTY package [Selig et al., 2013]."*
+> NIFTy package [Selig et al., 2013]."*
### References
Release Notes
-------------
-The NIFTY package is licensed under the
+The NIFTy package is licensed under the
[GPLv3](http://www.gnu.org/licenses/gpl.html) and is distributed
*without any warranty*.
* * * * *
-**NIFTY** project homepage:
+**NIFTy** project homepage:
[](http://www.mpa-garching.mpg.de/ift/nifty/)
-[1] Selig et al., "NIFTY - Numerical Information Field Theory - a
+[1] Selig et al., "NIFTy - Numerical Information Field Theory - a
versatile Python library for signal inference", [A&A, vol. 554, id.
A26](http://dx.doi.org/10.1051/0004-6361/201321236), 2013;
[arXiv:1301.4499](http://www.arxiv.org/abs/1301.4499)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index ee05508c..739265e5 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# NIFTY documentation build configuration file, created by
+# NIFTy documentation build configuration file, created by
# sphinx-quickstart on Tue May 16 10:22:50 2017.
#
# This file is execfile()d with the current directory set to its
@@ -79,7 +79,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'NIFTY2go'
+project = u'NIFTy2go'
copyright = u'2013-2017, Max-Planck-Society'
author = u'Theo Steininger / Martin Reinecke'
@@ -240,7 +240,7 @@ html_domain_indices = False
#html_search_scorer = 'scorer.js'
# Output file base name for HTML help builder.
-htmlhelp_basename = 'NIFTYdoc'
+htmlhelp_basename = 'NIFTydoc'
# -- Options for LaTeX output ---------------------------------------------
@@ -262,8 +262,8 @@ htmlhelp_basename = 'NIFTYdoc'
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
#latex_documents = [
-# (master_doc, 'NIFTY.tex', u'NIFTY Documentation',
-# u'NIFTY', 'manual'),
+# (master_doc, 'NIFTy.tex', u'NIFTy Documentation',
+# u'NIFTy', 'manual'),
#]
# The name of an image file (relative to this directory) to place at the top of
@@ -292,7 +292,7 @@ htmlhelp_basename = 'NIFTYdoc'
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
#man_pages = [
-# (master_doc, 'nifty', u'NIFTY Documentation',
+# (master_doc, 'nifty', u'NIFTy Documentation',
# [author], 1)
#]
@@ -306,8 +306,8 @@ htmlhelp_basename = 'NIFTYdoc'
# (source start file, target name, title, author,
# dir menu entry, description, category)
#texinfo_documents = [
-# (master_doc, 'NIFTY', u'NIFTY Documentation',
-# author, 'NIFTY', 'One line description of project.',
+# (master_doc, 'NIFTy', u'NIFTy Documentation',
+# author, 'NIFTy', 'One line description of project.',
# 'Miscellaneous'),
#]
diff --git a/docs/source/index.rst b/docs/source/index.rst
index ec96a53f..8334b175 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -1,19 +1,19 @@
-NIFTY -- Numerical Information Field Theory
+NIFTy -- Numerical Information Field Theory
===========================================
-**NIFTY** [1]_, "\ **N**\umerical **I**\nformation **F**\ield **T**\heor\ **y**\ ", is a versatile library designed to enable the development of signal inference algorithms that operate regardless of the underlying spatial grid and its resolution. Its object-oriented framework is written in Python, although it accesses libraries written in Cython, C++, and C for efficiency.
+**NIFTy** [1]_, "\ **N**\umerical **I**\nformation **F**\ield **T**\heor\ **y**\ ", is a versatile library designed to enable the development of signal inference algorithms that operate regardless of the underlying spatial grid and its resolution. Its object-oriented framework is written in Python, although it accesses libraries written in Cython, C++, and C for efficiency.
-NIFTY offers a toolkit that abstracts discretized representations of continuous spaces, fields in these spaces, and operators acting on fields into classes. Thereby, the correct normalization of operations on fields is taken care of automatically without concerning the user. This allows for an abstract formulation and programming of inference algorithms, including those derived within information field theory. Thus, NIFTY permits its user to rapidly prototype algorithms in 1D and then apply the developed code in higher-dimensional settings of real world problems. The set of spaces on which NIFTY operates comprises point sets, *n*-dimensional regular grids, spherical spaces, their harmonic counterparts, and product spaces constructed as combinations of those.
+NIFTy offers a toolkit that abstracts discretized representations of continuous spaces, fields in these spaces, and operators acting on fields into classes. Thereby, the correct normalization of operations on fields is taken care of automatically without concerning the user. This allows for an abstract formulation and programming of inference algorithms, including those derived within information field theory. Thus, NIFTy permits its user to rapidly prototype algorithms in 1D and then apply the developed code in higher-dimensional settings of real world problems. The set of spaces on which NIFTy operates comprises point sets, *n*-dimensional regular grids, spherical spaces, their harmonic counterparts, and product spaces constructed as combinations of those.
References
----------
-.. [1] Selig et al., "NIFTY -- Numerical Information Field Theory -- a versatile Python library for signal inference", `A&A, vol. 554, id. A26 `_, 2013; `arXiv:1301.4499 `_
+.. [1] Selig et al., "NIFTy -- Numerical Information Field Theory -- a versatile Python library for signal inference", `A&A, vol. 554, id. A26 `_, 2013; `arXiv:1301.4499 `_
Documentation
-------------
-Welcome to NIFTY's documentation!
+Welcome to NIFTy's documentation!
Indices and tables
diff --git a/nifty/field.py b/nifty/field.py
index 0b72a6e9..e9034fce 100644
--- a/nifty/field.py
+++ b/nifty/field.py
@@ -30,7 +30,7 @@ __all__ = ["Field", "sqrt", "exp", "log", "conjugate"]
class Field(object):
""" The discrete representation of a continuous field over multiple spaces.
- In NIFTY, Fields are used to store data arrays and carry all the needed
+ In NIFTy, Fields are used to store data arrays and carry all the needed
metainformation (i.e. the domain) for operators to be able to work on them.
Parameters
diff --git a/nifty/operators/diagonal_operator.py b/nifty/operators/diagonal_operator.py
index 1b1f13cf..e6429e94 100644
--- a/nifty/operators/diagonal_operator.py
+++ b/nifty/operators/diagonal_operator.py
@@ -26,9 +26,9 @@ from .. import dobj
class DiagonalOperator(EndomorphicOperator):
- """ NIFTY class for diagonal operators.
+ """ NIFTy class for diagonal operators.
- The NIFTY DiagonalOperator class is a subclass derived from the
+ The NIFTy DiagonalOperator class is a subclass derived from the
EndomorphicOperator. It multiplies an input field pixel-wise with its
diagonal.
diff --git a/nifty/operators/endomorphic_operator.py b/nifty/operators/endomorphic_operator.py
index db0a3c85..237fa044 100644
--- a/nifty/operators/endomorphic_operator.py
+++ b/nifty/operators/endomorphic_operator.py
@@ -20,9 +20,9 @@ from .linear_operator import LinearOperator
class EndomorphicOperator(LinearOperator):
- """ NIFTY class for endomorphic operators.
+ """ NIFTy class for endomorphic operators.
- The NIFTY EndomorphicOperator class is a class derived from the
+ The NIFTy EndomorphicOperator class is a class derived from the
LinearOperator. By definition, domain and target are the same in
EndomorphicOperator.
diff --git a/nifty/operators/scaling_operator.py b/nifty/operators/scaling_operator.py
index 85d69ebf..7205c69a 100644
--- a/nifty/operators/scaling_operator.py
+++ b/nifty/operators/scaling_operator.py
@@ -24,9 +24,9 @@ from .endomorphic_operator import EndomorphicOperator
class ScalingOperator(EndomorphicOperator):
- """ NIFTY class for an operator which multiplies a Field with a scalar.
+ """ NIFTy class for an operator which multiplies a Field with a scalar.
- The NIFTY ScalingOperator class is a subclass derived from the
+ The NIFTy ScalingOperator class is a subclass derived from the
EndomorphicOperator. It multiplies an input field with a given factor.
Parameters
diff --git a/nifty/spaces/gl_space.py b/nifty/spaces/gl_space.py
index 8458bc48..b96fa797 100644
--- a/nifty/spaces/gl_space.py
+++ b/nifty/spaces/gl_space.py
@@ -22,7 +22,7 @@ from .space import Space
class GLSpace(Space):
- """NIFTY subclass for Gauss-Legendre pixelizations [#]_ of the two-sphere.
+ """NIFTy subclass for Gauss-Legendre pixelizations [#]_ of the two-sphere.
Parameters
----------
diff --git a/nifty/spaces/hp_space.py b/nifty/spaces/hp_space.py
index 26691aee..e0e202a3 100644
--- a/nifty/spaces/hp_space.py
+++ b/nifty/spaces/hp_space.py
@@ -22,7 +22,7 @@ from .space import Space
class HPSpace(Space):
- """NIFTY subclass for HEALPix discretizations of the two-sphere [#]_.
+ """NIFTy subclass for HEALPix discretizations of the two-sphere [#]_.
Parameters
----------
diff --git a/nifty/spaces/lm_space.py b/nifty/spaces/lm_space.py
index 521e74d3..b2983377 100644
--- a/nifty/spaces/lm_space.py
+++ b/nifty/spaces/lm_space.py
@@ -24,7 +24,7 @@ from .. import dobj
class LMSpace(Space):
- """NIFTY subclass for spherical harmonics components, for representations
+ """NIFTy subclass for spherical harmonics components, for representations
of fields on the two-sphere.
Parameters
diff --git a/nifty/spaces/power_space.py b/nifty/spaces/power_space.py
index 47972f4f..124f103b 100644
--- a/nifty/spaces/power_space.py
+++ b/nifty/spaces/power_space.py
@@ -22,7 +22,7 @@ from .. import dobj
class PowerSpace(Space):
- """NIFTY class for spaces of power spectra.
+ """NIFTy class for spaces of power spectra.
Parameters
----------
diff --git a/nifty/spaces/rg_space.py b/nifty/spaces/rg_space.py
index a72f5940..1703222f 100644
--- a/nifty/spaces/rg_space.py
+++ b/nifty/spaces/rg_space.py
@@ -26,7 +26,7 @@ from .. import dobj
class RGSpace(Space):
- """NIFTY subclass for spaces of regular Cartesian grids.
+ """NIFTy subclass for spaces of regular Cartesian grids.
Parameters
----------
--
GitLab