Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dense Dose-Fluence Matrix Calculation #48

Merged
merged 12 commits into from
May 24, 2023

Conversation

lmejn
Copy link
Member

@lmejn lmejn commented May 24, 2023

Added storing of dose-fluence matrices in dense (i.e. not sparse) matrices.

To create new dose-fluence matrices, dose_fluence_matrix now needs takes the type as the first argument:

D = dose_fluence_matrix(Matrix, ...)
D = dose_fluence_matrix(SparseMatrixCSC, ...)

The existing in-place method, dose_fluence_matrix!, will specialise depending on matrix type.

Minor Changes

  • Added calibrate! to export list
  • Increased default maxradius for dose-fluence matrix computations to 100 mm
  • Added test for kernel_size

@codecov-commenter
Copy link

codecov-commenter commented May 24, 2023

Codecov Report

Merging #48 (8daeb84) into main (1258df6) will decrease coverage by 0.18%.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
- Coverage   18.80%   18.63%   -0.18%     
==========================================
  Files          22       22              
  Lines        1154     1170      +16     
==========================================
+ Hits          217      218       +1     
- Misses        937      952      +15     
Impacted Files Coverage Δ
...oseCalculationAlgorithms/FinitePencilBeamKernel.jl 0.00% <ø> (ø)
src/DoseCalculations.jl 100.00% <ø> (ø)
src/DoseFluenceMatrix.jl 1.21% <0.00%> (+1.21%) ⬆️

@lmejn lmejn merged commit 3d90fa6 into Image-X-Institute:main May 24, 2023
@lmejn lmejn deleted the feature/dense-dose-fluence-matrix branch May 24, 2023 11:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants