Commit 2cac7b2b authored by bliss administrator's avatar bliss administrator
Browse files

Adapted sinogram module in case of multiple scans

parent d8fd866c
......@@ -70,7 +70,7 @@ class TomoSinogram:
return scan_info
def configure_data_reemission(self, sequence, rotation, spectrum_counters, npixels):
def configure_data_reemission(self, sequence, rotation, spectrum_counters, npixels, tomo_range):
"""
Adds acquisition channels to tomo sequence object to emit sinogram
data (axis X, axis Y and spectrum values).
......@@ -78,7 +78,7 @@ class TomoSinogram:
# Prepare group channels
def replicate(angles,event):
return numpy.repeat(angles, npixels)
return numpy.repeat(angles%tomo_range, npixels)
def flatten(proj,event):
dark = self.dark.get_data()[event.node.name][0].astype(int)
......
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