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
c91e9fd4
Commit
c91e9fd4
authored
Apr 10, 2017
by
Pumpe, Daniel (dpumpe)
Browse files
Correct volume factors in ResponseOperator
parent
baf3a7b8
Pipeline
#11307
passed with stages
in 30 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/response_operator/response_operator.py
View file @
c91e9fd4
...
...
@@ -44,7 +44,6 @@ class ResponseOperator(LinearOperator):
def
_times
(
self
,
x
,
spaces
):
res
=
self
.
_kernel
.
times
(
x
)
res
=
self
.
_exposure
*
res
res
=
res
.
weight
(
power
=
1
)
# removing geometric information
return
Field
(
self
.
_target
,
val
=
res
.
val
)
...
...
@@ -52,5 +51,6 @@ class ResponseOperator(LinearOperator):
# setting correct spaces
res
=
x
*
self
.
_exposure
res
=
Field
(
self
.
domain
,
val
=
res
.
val
)
res
=
res
.
weight
(
power
=-
1
)
res
=
self
.
_kernel
.
adjoint_times
(
res
)
return
res
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