Skip to content
GitLab
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
e3bc5346
Commit
e3bc5346
authored
Jul 25, 2017
by
Theo Steininger
Browse files
Improved ResponseOperator
parent
b628605f
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/response_operator/response_operator.py
View file @
e3bc5346
...
...
@@ -119,6 +119,8 @@ class ResponseOperator(LinearOperator):
def
_adjoint_times
(
self
,
x
,
spaces
):
# setting correct spaces
res
=
Field
(
self
.
domain
,
val
=
x
.
val
)
if
spaces
is
not
None
:
spaces
=
range
(
spaces
[
0
],
spaces
[
0
]
+
len
(
res
.
domain
))
res
=
self
.
_composed_exposure
.
adjoint_times
(
res
,
spaces
)
res
=
res
.
weight
(
power
=-
1
)
res
=
self
.
_composed_kernel
.
adjoint_times
(
res
,
spaces
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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