Commit a038d7e4 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

simplification

parent 0c4e7310
Pipeline #26489 passed with stage
in 5 minutes and 5 seconds
......@@ -83,7 +83,7 @@ class NonlinearPowerEnergy(Energy):
LinR = LinearizedPowerResponse(Instrument, nonlinearity, ht,
Distributor, position, xi_sample)
residual = self.d - Instrument(nonlinearity(map_s))
residual = d - Instrument(nonlinearity(map_s))
tmp = N.inverse_times(residual)
lh = 0.5 * residual.vdot(tmp)
grad = LinR.adjoint_times(tmp)
......
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