Skip to content
GitLab
Menu
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
85541f67
Commit
85541f67
authored
Jan 06, 2022
by
Pierre Paleo
Browse files
Remove debug traces
parent
734fe1c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/reconstruction/sinogram_cuda.py
View file @
85541f67
...
...
@@ -186,7 +186,6 @@ class CudaSinoNormalization(SinoNormalization):
"block"
:
blk
,
"grid"
:
(
1
,
int
(
updiv
(
self
.
n_angles
,
blk
[
1
])),
int
(
updiv
(
self
.
n_z
,
blk
[
2
]))),
}
return
elif
self
.
normalization_array
is
not
None
:
normalization_array
=
self
.
normalization_array
n_angles
,
n_x
=
self
.
sinos_shape
[
-
2
:]
...
...
@@ -232,12 +231,6 @@ class CudaSinoNormalization(SinoNormalization):
if
sino
.
ndim
==
2
:
# Things can go wrong if "sino" is a non-contiguous 2D array
# But this should be handled outside this function, as the processing is in-place
print
(
type
(
sino
))
print
(
sino
.
shape
)
print
(
sino
.
dtype
)
print
(
type
(
self
.
normalization_array
))
print
(
self
.
normalization_array
.
shape
)
print
(
self
.
normalization_array
.
dtype
)
sino
-=
self
.
_d_normalization_array
else
:
if
sino
.
flags
.
forc
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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