Commit 7b086822 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Add docstring to SinoNormalization

parent 06f31c93
......@@ -287,6 +287,12 @@ class SinoNormalization:
- chebyshev: Each sinogram line is estimated by a Chebyshev polynomial
of degree 2. This estimation is then subtracted from the sinogram.
Default is "chebyshev"
sinos_shape: tuple, optional
Shape of the sinogram or sinogram stack.
Either this parameter or 'radios_shape' has to be provided.
radios_shape: tuple, optional
Shape of the projections or projections stack.
Either this parameter or 'sinos_shape' has to be provided.
"""
self._get_shapes(sinos_shape, radios_shape)
self._set_kind(kind)
......@@ -299,6 +305,9 @@ class SinoNormalization:
check_supported(kind, self.kinds, "sinogram normalization kind")
self.normalization_kind = kind
#
# Chebyshev normalization
#
def _normalize_chebyshev_2D(self, sino):
output = sino # inplace
......
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