Tags: pytrip/pytrip
Tags
783 add a few more examples working with dicom files (#786) * fix bad zoffset #784 * add dicom examples fix #783 * refactor: streamline DICOM import handling for current pydicom * add DICOM example script and update workflow to include resource download * fix: update DICOM example to include all lines for better clarity * fix: simplify mask assignment in DICOM example * Update examples/example03_dicom.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: update .gitignore and clean up whitespace in DICOM example --------- Co-authored-by: Leszek Grzanka <leszek.grzanka@gmail.com> Co-authored-by: Leszek Grzanka <grzanka@agh.edu.pl> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Fix GHA CI errors (#767) * test: Add expected stdout and empty stderr output for TRiP98 test case tst003000. * Update * chore: Update project configuration. * refactor: replace packaging.version dependency with internal version comparison logic * refactor: Add type hints to `_compare_version` function and update project configuration. * build: update project dependencies and configuration * chore: update project dependencies and build configuration * chore: update project dependencies and configuration * chore: Adjust project metadata and dependencies. * ci: Add numpy and verbose package install to tests workflow; remove CIBW test command from wheels workflow. * refactor: update `_cntr` import statement to use an alias * chore: Update CI to test with Python 3.13 and install the package in editable mode. * chore: update project configuration and dependencies * style: Remove redundant parentheses from `is_last` assignment in `contour.py`. * chore: update project dependencies and project configuration. * ci: remove verbose flag from pip install in tests workflow. * build: update project dependencies and metadata * build: adjust project configuration and dependencies * feat: Add pull request trigger for master branch and restrict wheel build OS to Ubuntu. * build: Update cibuildwheel action to v3.3.0. * build: Update test requirements to include setuptools fix: Refactor calculate_dose_center to use PyArrayObject for input * build: Enhance wheel build job to support multiple Python versions and OS * build: Update workflows and configuration for improved dependency management and C extension support
speed up intersections (#672) * speed up intersections * make C intersections faster * add macro, rename variables * modify binary search, still works only with closed chain * make binary search work with open chains * change vdx to match changes * add new treshold in binary search * refactor slice_on_plane * refactor binary search
PreviousNext