Commit 80f835e1 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

SinoNormalization: fix coeff subtraction

parent ff968218
Pipeline #33316 passed with stages
in 2 minutes and 7 seconds
......@@ -228,7 +228,7 @@ class SinoNormalization(SinoProcessing):
ff0 = sino[i, :].sum()
ff1 = (x * sino[i, :]).sum()
ff2 = (f2*sino[i, :]).sum()
output[i, :] = sino[i, :] - ff0/sum0 + ff1*x/sum1 + ff2*f2/sum2
output[i, :] = sino[i, :] - (ff0/sum0 + ff1*x/sum1 + ff2*f2/sum2)
return output
......
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