Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ift
NIFTy
Commits
99059a0a
Commit
99059a0a
authored
Jan 14, 2019
by
Martin Reinecke
Browse files
Merge branch 'mr_docs' into 'NIFTy_5'
Mr docs See merge request ift/nifty-dev!166
parents
173ccc29
084c9f28
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
docs/source/code.rst
docs/source/code.rst
+1
-1
nifty5/domains/lm_space.py
nifty5/domains/lm_space.py
+2
-2
nifty5/linearization.py
nifty5/linearization.py
+1
-1
nifty5/operators/simple_linear_operators.py
nifty5/operators/simple_linear_operators.py
+4
-3
nifty5/utilities.py
nifty5/utilities.py
+1
-1
No files found.
docs/source/code.rst
View file @
99059a0a
...
...
@@ -422,7 +422,7 @@ derived from IFT, but also for the numerical inversion of linear operators, if
the desired application mode is not directly available. A classical example is
the information propagator whose inverse is defined as:
:math:`D^{-1} = \left(R^\dagger N^{-1} R + S^{-1}\right).
:math:`D^{-1} = \left(R^\dagger N^{-1} R + S^{-1}\right)
`
.
It needs to be applied in forward direction in order to calculate the Wiener
filter solution. Only its inverse application is straightforward; to use it in
...
...
nifty5/domains/lm_space.py
View file @
99059a0a
...
...
@@ -32,13 +32,13 @@ class LMSpace(StructuredDomain):
lmax : int
The maximum :math:`l` value of any spherical harmonic coefficient
:math:`a_{lm}` that is represented by this object.
Must be :math:`\ge 0`.
Must be :math:`
\
\
ge 0`.
mmax : int, optional
The maximum :math:`m` value of any spherical harmonic coefficient
:math:`a_{lm}` that is represented by this object.
If not supplied, it is set to `lmax`.
Must be :math:`\ge 0` and :math:`\le` `lmax`.
Must be :math:`
\
\
ge 0` and :math:`
\
\
le` `lmax`.
"""
_needed_for_hash
=
[
"_lmax"
,
"_mmax"
]
...
...
nifty5/linearization.py
View file @
99059a0a
...
...
@@ -95,7 +95,7 @@ class Linearization(object):
@
property
def
want_metric
(
self
):
"""bool :
the value of `want_metric`
"""
"""bool :
True iff the metric was requested in the constructor
"""
return
self
.
_want_metric
@
property
...
...
nifty5/operators/simple_linear_operators.py
View file @
99059a0a
...
...
@@ -109,16 +109,17 @@ class FieldAdapter(LinearOperator):
def
ducktape
(
left
,
right
,
name
):
"""Convenience function for computing an adapter between two operators.
"""Convenience function creating an operator that converts between a
DomainTuple and a single-entry MultiDomain.
Parameters
----------
left : None, Operator, or Domainoid
Something describing the
input domain of the left operator
.
Something describing the
new operator's target domain
.
If `left` is an `Operator`, its domain is used as `left`.
right : None, Operator, or Domainoid
Something describing the
target domain of the right operator
.
Something describing the
new operator's input domain
.
If `right` is an `Operator`, its target is used as `right`.
name : string
...
...
nifty5/utilities.py
View file @
99059a0a
...
...
@@ -182,7 +182,7 @@ def NiftyMetaBase():
return
with_metaclass
(
NiftyMeta
,
type
(
'NewBase'
,
(
object
,),
{}))
class
frozendict
(
collections
.
Mapping
):
class
frozendict
(
collections
.
abc
.
Mapping
):
"""
An immutable wrapper around dictionaries that implements the complete
:py:class:`collections.Mapping` interface. It can be used as a drop-in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment