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

Does ConeBeamGeometry support helical geometry with cylindrical detector? #1601

Closed
wangwei-cmd opened this issue Apr 23, 2021 · 1 comment
Closed

Comments

@wangwei-cmd
Copy link

I want to create a helical geometry with cylindrical detector. Here is my code:

reco_space = odl.uniform_discr(min_pt=[-63.5, -63.5, 0], max_pt=[63.5, 63.5, 14], shape=[128, 128, 15], dtype='float32')
angle_partition = odl.uniform_partition(0, 2360 * np.pi/180, 721)
detector_partition = odl.uniform_partition([-0.4796, -6], [0.4796, 6], [219, 13])
geometry = odl.tomo.ConeBeamGeometry(angle_partition, detector_partition, src_radius=200, det_radius=200,
det_curvature_radius=(400, None), pitch=2
2*np.pi)
ray_trafo = odl.tomo.RayTransform(reco_space, geometry, impl='astra_cuda')

But pycharm raises an error:
NotImplementedError: unknown ASTRA geometry type ConeBeamGeometry(
uniform_partition(0.0, 12.57, 721),
uniform_partition([-0.4796, -6. ], [ 0.4796, 6. ], (219, 13)),
src_radius=200.0,
det_radius=200.0,
pitch=12.566371
)

@aringh
Copy link
Member

aringh commented Apr 23, 2021

Duplicate of #1602

@aringh aringh marked this as a duplicate of #1602 Apr 23, 2021
@aringh aringh closed this as completed Apr 23, 2021
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

2 participants