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
tomotools
Nabu
Commits
80f835e1
Commit
80f835e1
authored
Sep 11, 2020
by
Pierre Paleo
Browse files
SinoNormalization: fix coeff subtraction
parent
ff968218
Pipeline
#33316
passed with stages
in 2 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nabu/preproc/sinogram.py
View file @
80f835e1
...
...
@@ -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
...
...
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