odlgroup / odl

Operator Discretization Library https://odlgroup.github.io/odl/
Mozilla Public License 2.0
375 stars 105 forks source link

Handling of redundant values for real CT data #1644

Closed Emvlt closed 1 month ago

Emvlt commented 7 months ago

I have a case of CT data with readouts from real detectors. For some reasons related to the measurement process, there are identical consecutive angular values in the trajectory array. This raises the error ValueError: vector 1 contains duplicates when parsing the angular partition using odl.nonuniform_partition(np.unwrap(angles)) Please find the whole angular readout below full angular readout I use odl version 1.0.0.dev0 Is there a way to pre-process the data in the background to keep only one occurrence of the consecutive identical values for the case of CT data from real detectors?