NKI-AI / xdrt

XDRT (XDR Toolkit) is a python toolkit to work with the Elekta XDR and XVI file formats.
https://docs.aiforoncology.nl/xdrt
Other
14 stars 4 forks source link

proposal for handling rectilinear fields #11

Open samuelepapa opened 4 months ago

samuelepapa commented 4 months ago

Fixes the problem with rectilinear fields. This is done by introducing a new spacing system called "grid_spacing" which keeps the spacing for each dimension separately as a numpy array which indicates the location of each element in that dimension. The absence of scan to siddon is not considered breaking anymore, as some files don't have it but are valid xdr files (at least from experience).