Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
a1a0eefa
Commit
a1a0eefa
authored
May 08, 2017
by
Pumpe, Daniel (dpumpe)
Browse files
Docstrings for PropagatorOperator
parent
f630300b
Pipeline
#12154
passed with stage
in 4 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/propagator_operator/propagator_operator.py
View file @
a1a0eefa
...
...
@@ -23,6 +23,55 @@ from nifty.operators import EndomorphicOperator,\
class
PropagatorOperator
(
InvertibleOperatorMixin
,
EndomorphicOperator
):
"""NIFTY Propagator Operator D.
The propagator operator D, is known from the Wiener Filter.
Its inverse functional form might look like:
D = (S^(-1) + M)^(-1)
D = (S^(-1) + N^(-1))^(-1)
D = (S^(-1) + R^(\dagger) N^(-1) R)^(-1)
Parameters
----------
S : LinearOperator
Covariance of the signal prior.
M : LinearOperator
Likelihood contribution.
R : LinearOperator
Response operator translating signal to (noiseless) data.
N : LinearOperator
Covariance of the noise prior or the likelihood, respectively.
inverter : class to invert explicitly defined operators
(default:ConjugateGradient)
preconditioner : Field
numerical preconditioner to speed up convergence
Attributes
----------
Raises
------
Notes
-----
Examples
--------
>>> x_space = RGSpace(4)
>>> k_space = RGRGTransformation.get_codomain(x_space)
>>> f = Field(x_space, val=[2, 4, 6, 8])
>>> S = create_power_operator(k_space, spec=1)
>>> N = DiagonalOperaor(f.domain, diag=1)
>>> D = PropagatorOperator(S=S, N=N) # D^{-1} = S^{-1} + N^{-1}
>>> D(f).val
<distributed_data_object>
array([ 1., 2., 3., 4.]
See Also
--------
Scientific reference
https://arxiv.org/abs/0806.3474
"""
# ---Overwritten properties and methods---
def
__init__
(
self
,
S
=
None
,
M
=
None
,
R
=
None
,
N
=
None
,
inverter
=
None
,
...
...
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