For a subset acquisition data acq_subset the following
tmp = acq_subset*0.0
raises this error
ERROR: write_basic_interfile_PDFS_header: Error casting the projdata to one of its geometries: Cylindrical/BlocksOnCylindrical/Genreic --------------------------------------------------------------------------- error Traceback (most recent call last) Input In [24], in <cell line: 1>() ----> 1 tmp = acq_subset*0.0 File ~/Edo/build/INSTALL/python/sirf/SIRF.py:397, in DataContainer.__mul__(self, other) 394 z.handle = pysirf.cSIRF_axpby \ 395 (a.ctypes.data, self.handle, zero.ctypes.data, self.handle) 396 z.src = 'mult' --> 397 check_status(z.handle) 398 return z 400 return NotImplemented File ~/Edo/build/INSTALL/python/sirf/Utilities.py:459, in check_status(handle, stack) 454 line = pyiutil.executionErrorLine(handle) 455 errorMsg = \ 456 repr(msg) + ' exception caught at line ' + \ 457 repr(line) + ' of ' + file + '; ' + \ 458 'the reconstruction engine output may provide more information' --> 459 raise error(errorMsg) error: ??? "'write_basic_interfile_PDFS_header: Error casting the projdata to one of its geometries: Cylindrical/BlocksOnCylindrical/Genreic' exception caught at line 162 of /home/vaggelis/Edo/build/sources/SIRF/src/common/csirf.cpp; the reconstruction engine output may provide more information"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@epapoutsellis the issue is being investigated, meanwhile you may like to try memory storage scheme, which seems to work.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Notebook using the subsets functionality is here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
would be good to add a test for this as per https://github.com/SyneRBI/SIRF/blob/82aecc5574360c9486484cb2722d2befddf4ee9d/src/xSTIR/pSTIR/tests/test_algebra.py#L72-L73
adding get_subset([0])
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
#1342 does not close this issue. I would suggest to keep this open
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
With #1342 unit tests for subset algebra are added for both storage scheme file and memory. For the first one the unit tests expect that they raise an exception.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()