Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of redundant values for real CT data #1644

Open
Emvlt opened this issue Apr 29, 2024 · 0 comments
Open

Handling of redundant values for real CT data #1644

Emvlt opened this issue Apr 29, 2024 · 0 comments

Comments

@Emvlt
Copy link

Emvlt commented Apr 29, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant