jrkerns / pylinac

An image analysis library for medical physics
https://pylinac.readthedocs.io/en/latest/
MIT License
157 stars 99 forks source link

Winston Lutz Multi Target scipy Rotation function #442

Closed ethanio12345 closed 1 year ago

ethanio12345 commented 1 year ago

Introduce function into Winston Lutz Multi Target Multi Field code to more concisely calculate projection of offset BB to isocentre plane in BEV. Potential for both couch/gantry rotations to included in projection. Include scipy.spatial.transform in import.

Discussed in https://github.com/jrkerns/pylinac/discussions/441

ethanio12345 commented 1 year ago

Sorry. Realised I left a test file before I started the PR. Deleted now, so should be fine.

jrkerns commented 1 year ago

This will get merged into Bitbucket and then get mirrored back here in a few days after code review.

jrkerns commented 7 months ago

I'm finally coming back to this and the function works very well so far! Thanks for this. Every test I've written so far has expected results.