Skip to content

Fix laminography corrector error caused by set centre of rotation on a tilted axis#2297

Merged
hrobarts merged 2 commits intomasterfrom
laminography_bugfix
Mar 12, 2026
Merged

Fix laminography corrector error caused by set centre of rotation on a tilted axis#2297
hrobarts merged 2 commits intomasterfrom
laminography_bugfix

Conversation

@hrobarts
Copy link
Contributor

Changes

Fixes an error caused using set_centre_of_rotation() on an already tilted rotation axis if the cross product between the old and new is a zero vector.

Testing you performed

Please add any demo scripts to https://github.com/TomographicImaging/CIL-Demos/tree/main/misc

Related issues/links

Checklist

  • I have performed a self-review of my code
  • I have added docstrings in line with the guidance in the developer guide
  • I have updated the relevant documentation
  • I have implemented unit tests that cover any new or modified functionality
  • CHANGELOG.md has been updated with any functionality change
  • Request review from all relevant developers

@hrobarts hrobarts self-assigned this Mar 12, 2026
@hrobarts hrobarts merged commit ff372b5 into master Mar 12, 2026
82 of 84 checks passed
@hrobarts hrobarts deleted the laminography_bugfix branch March 12, 2026 10:12
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

Successfully merging this pull request may close these issues.

2 participants