Commit e3bc5346 authored by Theo Steininger's avatar Theo Steininger

Improved ResponseOperator

parent b628605f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment