Replies: 3 comments 1 reply
-
Hello. Sure, I can help with that. Our cone-beam geometry is quite flexible, but does not handle detector rotations, so you'll have to use our so-called modular-beam geometry. Specifying a modular-beam geometry is fairly laborious, so I would recommend starting with a cone-beam specification, converting it to modular-beam, and then rotating the detector. So start with something like what you see in the first demo script d01_standard_geometries.py where rotationAngleInDegrees is the angle of rotation for the detector in degrees. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Ya, that script provides a nice example. If all you are doing is performing small deviations of the geometry, look at this demo script d25_detector_dithering.py. |
Beta Was this translation helpful? Give feedback.
-
I actually found a bug in the rotate_detector() function. This is fixed in the release that I just published. Please update LEAP. |
Beta Was this translation helpful? Give feedback.
-
Hello and thank you for the project!
I am trying to familiarize myself with the CSYS and possible transformations. Could you please point me out to a way to specify the rotation of the detector around the Y axis in cone-beam setup? Actually, we have the stage rotated, but it seems to me that rotating the detector and the stage should give the same results.
In the picture below, the blue arrow shows how we want to rotate the detector:
![Screenshot_2024-05-22_18-20-09](https://private-user-images.githubusercontent.com/26378793/332860447-ca743fee-f01c-4303-9557-956f0c471435.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzcxMjUsIm5iZiI6MTcyNTc3NjgyNSwicGF0aCI6Ii8yNjM3ODc5My8zMzI4NjA0NDctY2E3NDNmZWUtZjAxYy00MzAzLTk1NTctOTU2ZjBjNDcxNDM1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA2MjcwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiZDAzODNjYjkyYjM0OWQ5OTk0YmM3MzgwZTQ3NzUxNTg1ZmE3YmEyYzM2Nzk2NGY4ZWEyMDEzZWEwMWRjZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6nJVa4NBqbjCdBngXi4PzjvLYFHy39WuM6LDoRquJas)
Beta Was this translation helpful? Give feedback.
All reactions