Menu

#16 Source rotation

2.0.8
open
feature (4)
2024-07-26
2024-07-24
Bas Meer
No

Hi Franck,

I would like to include a rotation of the source. For my application, there is an off-set between the axis of rotation of the device and the point from which the X-rays originate. I'm currently implementing the rotation as a displacement along a circle with radius equal to the off-set. As discussed, this could be a useful built-in function for gVXR.

1 Attachments

Discussion

  • Franck Vidal

    Franck Vidal - 2024-07-24

    Hi Bas,

    it is now possible to rotate the source using two specific functions.
    rotateFocalSpot and rotateSource. I haven't written the unit tests, i.e. the code is not tested. It's tomorrow's job.

     
  • Franck Vidal

    Franck Vidal - 2024-07-24
    • labels: --> feature
    • assigned_to: Franck Vidal
    • Milestone: 1.0 --> 2.0.8
     
  • Franck Vidal

    Franck Vidal - 2024-07-26

    Hi Bas,

    I added two unit tests in gvxr/tests/TestPointSource.cxx. See TestRotationCentred and TestRotationNotCentred. It seems to work well when no focal spot is used.

    regards,

    Franck

     

Log in to post a comment.