jrkerns / pylinac

An image analysis library for medical physics
MIT License
145 stars 94 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 3 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.