Commit dc318d34 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Make clear that normalization is in-place

parent 7b086822
......@@ -334,11 +334,16 @@ class SinoNormalization:
def _normalize_chebyshev(self, sino):
if sino.ndim == 2:
res = self._normalize_chebyshev_2D(sino)
self._normalize_chebyshev_2D(sino)
else:
res = self._normalize_chebyshev_3D(sino)
return res
self._normalize_chebyshev_3D(sino)
return sino
#
# Dispatch
#
def _get_norm_func_name(self, prefix=""):
return prefix + "normalize_" + self.normalization_kind
......
Supports Markdown
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