Repository navigation
v0.3.4
Patch Release to sanitize some dose calculation behavoir:
- Storage of multiple Dij's streamlined to reduce memory consumption
- plot_slice function has a few additional parameters and sanitized slice titles
- resample_image now explicitly states extrapolation behavior
- streamlined kernel normalization within photon SVDPB engine
- CI quality of life changes
Added
- dose engines now have private flags and to guarantee sparse dij structure before finalization
- Issue and Pull/Merge Request templates
- default pre-commit hooks for line endings, case conflicts, merge conflicts, etc. Also added codespell, CITATION.cff verifyer and toml check
- and now accept a generic (CT, dict, or ) instead of only a via the argument
- gained and ( or ) options for grayscale windowing, replacing the previous
- in now also accepts a
- Jennifer Josephine Hardt added as author (CITATION.cff and pyproject.toml)
- Added an option to to choose the extrapolator. Default is to use a nearest neighbor extrapolator, but individual values can beprovided as well.
Changed
- New version of photons_Generic.mat basedata file can now be provided, allowing a version field alongside meta and data files within the machine struct. Version 2 requires correct kernel normalization (without implying a spacing in the convolution integral). photons_Generic.mat has been updated to version 2 with correct kernel normalization.
- Photon dose calculation now does not rely on hardcoded convolution resolution integral normalization of machine kernels. Assumes that old kernels use hardcoded factor of 4 for 0.5 mm resolution (1/0.5^2).
- Sparse structure now uses one shared index structure across dijs if possible
- internally refactored into modular helpers (input validation, axis resolution, image/contour/overlay drawing, scale bar, finalization) for readability and reuse
- Slice titles now follow the format (or when no image volume is provided)
- / parameter renamed to and renamed to
Deprecated
- and arguments to / still work as aliases for and but emit a
Fixed
- CI Release Workflow now tests correctly on release commits without an [Unreleased] section in the Changelog.
- CI Release Workflow now fetches tags correctly and supplies the correct release body from the tag message