Skip to content

Commit

Permalink
CofR getter and setters (#1366)
Browse files Browse the repository at this point in the history
* offset only getters and setters

* fix case where rotation axis is on the detector

* simplify system description tests

* simplify code

* added unit tests

* fix defaults

* updated changelog
  • Loading branch information
gfardell authored Nov 15, 2022
1 parent 13af0b3 commit 76e5014
Show file tree
Hide file tree
Showing 4 changed files with 1,380 additions and 175 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
* Next
- Added convenience centre of rotation methods to `AcquisitionGeometry` class.
- `get_centre_of_rotation()` calculates the centre of rotation of the system
- `set_centre_of_rotation()` sets the system centre of rotation with an offset and angle
- `set_centre_of_rotation_by_slice()` sets the system centre of rotation with offsets from two slices

* 22.1.0
- use assert_allclose in test_DataContainer
- added multiple colormaps to show2D
Expand Down
Loading

0 comments on commit 76e5014

Please sign in to comment.